FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/sysglue/flashboot.S @ 1025:4c80a6e6723f
gsm-fw: added provisional support for FCDEV3B target ahead of the hardware
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Tue, 03 May 2016 23:46:54 +0000 |
parents | c7ca69bf84f3 |
children |
comparison
equal
deleted
inserted
replaced
1024:1886238653b8 | 1025:4c80a6e6723f |
---|---|
78 #if CONFIG_TARGET_PIRELLI | 78 #if CONFIG_TARGET_PIRELLI |
79 mov r0, #0x00A4 | 79 mov r0, #0x00A4 |
80 strh r0, [r2, #0] | 80 strh r0, [r2, #0] |
81 strh r0, [r2, #2] | 81 strh r0, [r2, #2] |
82 strh r0, [r2, #6] | 82 strh r0, [r2, #6] |
83 #elif CONFIG_TARGET_FCFAM | |
84 mov r0, #0x00A4 | |
85 strh r0, [r2, #0] | |
86 strh r0, [r2, #2] | |
87 strh r0, [r2, #4] | |
83 #else | 88 #else |
84 mov r0, #0x00A3 | 89 mov r0, #0x00A3 |
85 strh r0, [r2, #0] | 90 strh r0, [r2, #0] |
86 strh r0, [r2, #2] | 91 strh r0, [r2, #2] |
87 #endif | 92 #endif |
91 * (not aware of any that need the pin to be CS4), but we strongly | 96 * (not aware of any that need the pin to be CS4), but we strongly |
92 * prefer to have a consistent execution environment between flashImage | 97 * prefer to have a consistent execution environment between flashImage |
93 * and ramImage, so let's only do this setting on those targets | 98 * and ramImage, so let's only do this setting on those targets |
94 * on which we do it in ../../loadtools/scripts/*.init (for fc-xram). | 99 * on which we do it in ../../loadtools/scripts/*.init (for fc-xram). |
95 */ | 100 */ |
96 #if CONFIG_TARGET_PIRELLI || CONFIG_TARGET_C155 | 101 #if CONFIG_TARGET_PIRELLI || CONFIG_TARGET_C155 || CONFIG_TARGET_FCFAM |
97 ldr r1, =0xFFFEF006 | 102 ldr r1, =0xFFFEF006 |
98 mov r2, #0x0008 | 103 mov r2, #0x0008 |
99 strh r2, [r1] | 104 strh r2, [r1] |
100 #endif | 105 #endif |
101 /* we now have full access to all flash and RAM on the device */ | 106 /* we now have full access to all flash and RAM on the device */ |