changeset 626:d1df7544f102

L1: reverting malicious LoCosto change that disables all useful L1 traces
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 31 Aug 2014 05:04:56 +0000
parents 29dae53ad969
children 42c91c51ca7f
files gsm-fw/L1/cust0/l1_cust.c
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/cust0/l1_cust.c	Sun Aug 31 03:22:06 2014 +0000
+++ b/gsm-fw/L1/cust0/l1_cust.c	Sun Aug 31 05:04:56 2014 +0000
@@ -1342,19 +1342,21 @@
     cfg.pwr_mngt_clocks = 0x5ff; // list of clocks cut in Big Sleep
   #endif
 
-
-
-
-
   #if (CODE_VERSION != SIMULATION)
     cfg.dwnld = DWNLD; //external define from makefile
   #endif
 
   l1_initialize(&cfg);
-  
+
+  /*
+   * The following conditioned-out line appears in the LoCosto version,
+   * but not in the Leonardo binary object.  Investigation has revealed
+   * that the change is malicious: it disables ALL useful L1 traces.
+   */
+#if 0
   //add below line for CSR 174476
-  //FC note: not present in Leonardo binary object, will take closer look later
   trace_info.current_config->l1_dyn_trace = 0;  //disable L1 trace after L1 init
+#endif
 
   get_cal_from_nvmem((UWORD8 *)&rf, sizeof(rf), RF_ID);
   get_cal_from_nvmem((UWORD8 *)&adc_cal, sizeof(adc_cal), ADC_ID);