summaryrefslogtreecommitdiff
path: root/board/sheldon
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2009-09-11 10:53:08 +0800
committerKumar Gala <galak@kernel.crashing.org>2009-09-15 21:30:09 -0500
commit6e1385d5f8d137e741dfef02465d7dc328040ad7 (patch)
tree148c1b529cdedb3d8c74ef97f93ace40e36d720e /board/sheldon
parent7da53351d817c6d77364cfde922891f37d0e5ed8 (diff)
downloadu-boot-imx-6e1385d5f8d137e741dfef02465d7dc328040ad7.zip
u-boot-imx-6e1385d5f8d137e741dfef02465d7dc328040ad7.tar.gz
u-boot-imx-6e1385d5f8d137e741dfef02465d7dc328040ad7.tar.bz2
NAND boot: change NAND loader's relocate SP to CONFIG param
So that we can set the NAND loader's relocate stack pointer to the value other than the relocate address + 0x10000. Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sheldon')
-rw-r--r--board/sheldon/simpc8313/simpc8313.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sheldon/simpc8313/simpc8313.c b/board/sheldon/simpc8313/simpc8313.c
index 25e5c24..1044de2 100644
--- a/board/sheldon/simpc8313/simpc8313.c
+++ b/board/sheldon/simpc8313/simpc8313.c
@@ -112,7 +112,7 @@ void board_init_f(ulong bootflag)
puts("NAND boot... ");
init_timebase();
initdram(0);
- relocate_code(CONFIG_SYS_NAND_U_BOOT_RELOC + 0x10000, (gd_t *)gd,
+ relocate_code(CONFIG_SYS_NAND_U_BOOT_RELOC_SP, (gd_t *)gd,
CONFIG_SYS_NAND_U_BOOT_RELOC);
}