changeset 898:cc9d97d0e911

gsm-fw: DWNLD (static DSP patch) and L1_DYN_DSP_DWNLD moved to config mechanism
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Jul 2015 02:41:39 +0000
parents e8bdd3d0c4c2
children ab20a5e9dbf3
files gsm-fw/L1/include/l1_confg.h gsm-fw/cfgmagic/processconf.sh
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/include/l1_confg.h	Wed Jul 01 06:29:55 2015 +0000
+++ b/gsm-fw/L1/include/l1_confg.h	Sun Jul 05 02:41:39 2015 +0000
@@ -76,10 +76,6 @@
 #define	TRACE_TYPE	4
 #define	VCXO_ALGO	1
 
-/* let's try running without any DSP patches initially */
-#define	DWNLD			0
-#define	L1_DYN_DSP_DWNLD	0
-
 /* TESTMODE will be enabled with feature l1tm */
 
 #if CONFIG_AUDIO
--- a/gsm-fw/cfgmagic/processconf.sh	Wed Jul 01 06:29:55 2015 +0000
+++ b/gsm-fw/cfgmagic/processconf.sh	Sun Jul 05 02:41:39 2015 +0000
@@ -21,6 +21,8 @@
 RVTMUX_UART_baud=115200
 FLASH_BOOT_VIA_BOOTROM=1
 FLASHIMAGE_BASE_ADDR=0x2000
+DWNLD=0
+L1_DYN_DSP_DWNLD=0
 
 # We always export CONFIG_INCLUDE_xxx to config.h and config.mk, whether
 # enabled or disabled.  This way enabling any of these components is
@@ -95,6 +97,11 @@
 		1>&2
 	exit 1
 fi
+if [ "$CONFIG_INCLUDE_L1" = 1 ]
+then
+	export_to_c	L1_DYN_DSP_DWNLD DWNLD
+	export_to_mk	L1_DYN_DSP_DWNLD
+fi
 
 # The list of build components: we have some invariants that are always
 # included, and some others that are included depending on the configuration.