summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91sam9n12ek/lowlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/at91sam9n12ek/lowlevel.c')
-rw-r--r--arch/arm/boards/at91sam9n12ek/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/at91sam9n12ek/lowlevel.c b/arch/arm/boards/at91sam9n12ek/lowlevel.c
index f57e439b9e..5bc18f8fca 100644
--- a/arch/arm/boards/at91sam9n12ek/lowlevel.c
+++ b/arch/arm/boards/at91sam9n12ek/lowlevel.c
@@ -17,7 +17,7 @@ void __naked __bare_init barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint
{
arm_cpu_lowlevel_init();
- arm_setup_stack(AT91SAM9N12_SRAM_BASE + AT91SAM9N12_SRAM_SIZE - 16);
+ arm_setup_stack(AT91SAM9N12_SRAM_BASE + AT91SAM9N12_SRAM_SIZE);
barebox_arm_entry(AT91_CHIPSELECT_1, at91sam9n12_get_ddram_size(),
NULL);