summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-11-05 12:31:39 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-11-05 12:31:39 +0100
commit02f53cc56943bc2aafdd191c8d0a47b36004c702 (patch)
tree4f2e1ea283b31187a8811190c25fefc2fb3bd6cd
parent29a827a09c536892b5934eec1ee53a439d84f37a (diff)
downloadOSELAS.BSP-EnergyMicro-Gecko-02f53cc56943bc2aafdd191c8d0a47b36004c702.tar.gz
OSELAS.BSP-EnergyMicro-Gecko-02f53cc56943bc2aafdd191c8d0a47b36004c702.tar.xz
OSELAS.BSP-EnergyMicro-Gecko: geckoboot: move stack to not corrupt dt
The device tree blob is copied to 0x10000000. Now that printing to the UART makes use of the stack having it at 0x10020000 (and below) corrupts the device tree. Move it to the end of SRAM.
-rw-r--r--local_src/geckoboot-2013.01.0/geckoboot.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S
index 36f53e5..6146b9f 100644
--- a/local_src/geckoboot-2013.01.0/geckoboot.S
+++ b/local_src/geckoboot-2013.01.0/geckoboot.S
@@ -8,7 +8,7 @@
.syntax unified
.thumb
- .int 0x10001000 @ Initial SP value
+ .int 0x10020000 @ Initial SP value
.int reset + 1
#define UARTn_STATUS 0x0010