FreeCalypso > hg > freecalypso-sw
comparison nuc-fw/bsp/init_target.c @ 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 | 3b5c3f3646fb |
children |
comparison
equal
deleted
inserted
replaced
141:f8bb6cd4edd3 | 142:15d5977390c2 |
---|---|
43 // drp_power_on(); This should be done after the script is downloaded. | 43 // drp_power_on(); This should be done after the script is downloaded. |
44 #endif | 44 #endif |
45 #else | 45 #else |
46 #if (BOARD==35) | 46 #if (BOARD==35) |
47 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x2000; | 47 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x2000; |
48 #elif CONFIG_TARGET_PIRELLI // from disasm of original fw | |
49 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6050; | |
48 #else | 50 #else |
49 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6000; | 51 *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6000; |
50 #endif /* (BOARD == 35) */ | 52 #endif /* (BOARD == 35) */ |
51 #endif | 53 #endif |
52 #endif | 54 #endif |