changeset 525:98c6be4d3d8d

CONFIG_GSM vs CONFIG_INCLUDE_L1: a few changes in preparation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 14 Jul 2014 18:42:38 +0000
parents 11b6ca57a079
children 80ee7eacdaeb
files gsm-fw/bsp/init_target.c gsm-fw/bsp/niq32.c gsm-fw/sysglue/appinit.c
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/bsp/init_target.c	Mon Jul 14 07:03:53 2014 +0000
+++ b/gsm-fw/bsp/init_target.c	Mon Jul 14 18:42:38 2014 +0000
@@ -19,7 +19,7 @@
 #include "rhea_arm.h"
 #include "ulpd.h"
 
-#if !CONFIG_GSM
+#if !CONFIG_INCLUDE_L1
 #include "timer2.h"
 #endif
 
@@ -364,7 +364,7 @@
       TM_EnableTimer (1);
       TM_EnableTimer (2);
 
-      #if !CONFIG_GSM
+      #if !CONFIG_INCLUDE_L1
 	Dtimer2_Init_cntl (1875, 1, 0, 1);
 	Dtimer2_Start (1);
       #endif
@@ -380,7 +380,7 @@
 
 void Init_Unmask_IT(void)
 {
-#if CONFIG_GSM
+#if CONFIG_INCLUDE_L1
 	IQ_Unmask(IQ_FRAME);
 #endif
 	IQ_Unmask(IQ_UART_IRDA_IT);
@@ -389,7 +389,7 @@
 	IQ_Unmask(IQ_ARMIO);
 	IQ_Unmask(IQ_API);
 #endif
-#if !CONFIG_GSM
+#if !CONFIG_INCLUDE_L1
 	IQ_Unmask(IQ_TIM2);
 #endif
 }
--- a/gsm-fw/bsp/niq32.c	Mon Jul 14 07:03:53 2014 +0000
+++ b/gsm-fw/bsp/niq32.c	Mon Jul 14 18:42:38 2014 +0000
@@ -490,7 +490,7 @@
  void IQ_TimerHandler2(void)
 {
   IQ_TimerCount2++;  
-  #if !CONFIG_GSM
+  #if !CONFIG_INCLUDE_L1
     TMT_Timer_Interrupt();
   #endif
 }
--- a/gsm-fw/sysglue/appinit.c	Mon Jul 14 07:03:53 2014 +0000
+++ b/gsm-fw/sysglue/appinit.c	Mon Jul 14 18:42:38 2014 +0000
@@ -19,11 +19,11 @@
 	rvf_init();
 	rvm_init();
 	create_tasks();
-#if 0
+#if CONFIG_GSM
 	SIM_Initialize();
 #endif
 	/* end of Init_Drivers() */
-#if CONFIG_GSM
+#if CONFIG_INCLUDE_L1
 	Cust_Init_Layer1();
 #endif
 	Init_Serial_Flows();