diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-26 23:50:29 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-26 23:50:29 -0800 |
commit | 03638eaea432ac06456cded2cb743d20664689a7 (patch) | |
tree | a40478f4f6fb0fbbabe7fe32e7f07cb34c7dde4d /arch/arm/lpc17xx/startup.s | |
parent | c08bb737198dc1beac552af363646c307094d731 (diff) |
More senseful init sequence, and memory alignment.
Diffstat (limited to 'arch/arm/lpc17xx/startup.s')
-rw-r--r-- | arch/arm/lpc17xx/startup.s | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/lpc17xx/startup.s b/arch/arm/lpc17xx/startup.s index c09971e..a57954a 100644 --- a/arch/arm/lpc17xx/startup.s +++ b/arch/arm/lpc17xx/startup.s @@ -145,13 +145,9 @@ __cs3_reset_cortex_m: LDR R2, =__bss_ram_len BL memset - LDR R0, =lpc17xx_deinit_all - BLX R0 - - LDR R0, =SystemInit - BLX R0 - LDR R0,=_start - BX R0 + BL lpc17xx_deinit_all + BL SystemInit + B _start .pool .cantunwind .fnend |