changeset 142:15d5977390c2

fw build for pirelli: set the ASIC_CONF register like the original fw does
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:00:00 +0000
parents f8bb6cd4edd3
children afceeeb2cba1
files nuc-fw/bsp/init_target.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nuc-fw/bsp/init_target.c	Tue Nov 12 04:53:30 2013 +0000
+++ b/nuc-fw/bsp/init_target.c	Tue Nov 12 05:00:00 2013 +0000
@@ -45,6 +45,8 @@
         #else
           #if (BOARD==35)
             *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x2000;
+          #elif CONFIG_TARGET_PIRELLI	// from disasm of original fw
+            *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6050;
           #else
             *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6000;
           #endif   /* (BOARD == 35) */