diff options
author | Mingkai Hu <Mingkai.hu@freescale.com> | 2009-09-11 10:53:08 +0800 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-03 09:04:28 -0500 |
commit | a87426e6dc464839407ee92f133cabf38944b605 (patch) | |
tree | bd4e67ff8bb234e7091b27cafac428b3de212345 /board/freescale | |
parent | 9f3243612ca29c40a55ab0c3927e072349690610 (diff) | |
download | u-boot-imx-a87426e6dc464839407ee92f133cabf38944b605.zip u-boot-imx-a87426e6dc464839407ee92f133cabf38944b605.tar.gz u-boot-imx-a87426e6dc464839407ee92f133cabf38944b605.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/freescale')
-rw-r--r-- | board/freescale/mpc8313erdb/mpc8313erdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8313erdb/mpc8313erdb.c b/board/freescale/mpc8313erdb/mpc8313erdb.c index 9ffd4bf..e5f62ae 100644 --- a/board/freescale/mpc8313erdb/mpc8313erdb.c +++ b/board/freescale/mpc8313erdb/mpc8313erdb.c @@ -140,7 +140,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); } |