# HG changeset patch # User Michael Spacefalcon # Date 1409461496 0 # Node ID d1df7544f102ea94ca9e5e249f5004f1e428b704 # Parent 29dae53ad969a7ec2667d8ae57476b3c97ce177a L1: reverting malicious LoCosto change that disables all useful L1 traces diff -r 29dae53ad969 -r d1df7544f102 gsm-fw/L1/cust0/l1_cust.c --- 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);