summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/startup.s
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-27 02:36:10 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-27 02:36:10 +0100
commitd8730c7de5cdb4117b0ca6c6f63eaad276aa2ab2 (patch)
treed74b2b70da5114223aa8b5008371e366f0b746db /arch/arm/lpc17xx/startup.s
parentee97e7d3e576b653ef6694b7f3bcae9045620cca (diff)
Trying a better reset sequence, by de-initting all possible devices.
Diffstat (limited to 'arch/arm/lpc17xx/startup.s')
-rw-r--r--arch/arm/lpc17xx/startup.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lpc17xx/startup.s b/arch/arm/lpc17xx/startup.s
index 6f41389..c09971e 100644
--- a/arch/arm/lpc17xx/startup.s
+++ b/arch/arm/lpc17xx/startup.s
@@ -145,6 +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