diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-11 21:18:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-10-23 05:03:51 -0400 |
commit | 960922291c9594acb575cec7e47d7bed9b58182c (patch) | |
tree | ecc0455595262d811d8b1d9f95b571b2ed2244cb /cpu/blackfin | |
parent | 25cd33d82ea521b7bd90ca858f8919fae1e9732b (diff) | |
download | u-boot-imx-960922291c9594acb575cec7e47d7bed9b58182c.zip u-boot-imx-960922291c9594acb575cec7e47d7bed9b58182c.tar.gz u-boot-imx-960922291c9594acb575cec7e47d7bed9b58182c.tar.bz2 |
Blackfin: set initial stack correctly according to Blackfin ABI
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'cpu/blackfin')
-rw-r--r-- | cpu/blackfin/start.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/blackfin/start.S b/cpu/blackfin/start.S index c4d52b4..f351fab 100644 --- a/cpu/blackfin/start.S +++ b/cpu/blackfin/start.S @@ -1,7 +1,7 @@ /* * U-boot - start.S Startup file for Blackfin u-boot * - * Copyright (c) 2005-2007 Analog Devices Inc. + * Copyright (c) 2005-2008 Analog Devices Inc. * * This file is based on head.S * Copyright (c) 2003 Metrowerks/Motorola @@ -49,8 +49,8 @@ ENTRY(_start) /* Set our initial stack to L1 scratch space */ - sp.l = LO(L1_SRAM_SCRATCH + L1_SRAM_SCRATCH_SIZE); - sp.h = HI(L1_SRAM_SCRATCH + L1_SRAM_SCRATCH_SIZE); + sp.l = LO(L1_SRAM_SCRATCH_END - 20); + sp.h = HI(L1_SRAM_SCRATCH_END - 20); #ifdef CONFIG_HW_WATCHDOG # ifndef CONFIG_HW_WATCHDOG_TIMEOUT_START |