]> git.sur5r.net Git - u-boot/commit
83xx: Fix NAND_SPL link address
authorScott Wood <scottwood@freescale.com>
Wed, 24 Nov 2010 13:28:40 +0000 (13:28 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 27 Nov 2010 22:35:08 +0000 (23:35 +0100)
commitf1c574d4006d81301792e70fafc31ff39259e793
treed3f6866e50cf5f51b9e583d07eedbb5cf0735789
parentc56f84ca9c86d7b9ac4a79ce6c9569aa8b851833
83xx: Fix NAND_SPL link address

Apply the same fix for 83xx as was done for 85xx in commit
96196a1f7546904563994d2d041804a816d7c139.

Without this, NAND SPLs are built with the text base intended for the main
image, resulting in a broken, very large u-boot-nand.bin.

The block of defines for NAND boot is moved closer to where
CONFIG_SYS_TEXT_BASE is defined.  We can't directly use
CONFIG_SYS_NAND_U_BOOT_DST in the definition of CONFIG_SYS_TEXT_BASE because
autoconf.mk will include the literal text "CONFIG_SYS_NAND_U_BOOT_DST",
but at least keep them close and point out that they're supposed to be
the same.

Signed-off-by: Scott Wood <scottwood@freescale.com>
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/SIMPC8313.h
nand_spl/board/freescale/mpc8313erdb/Makefile
nand_spl/board/freescale/mpc8315erdb/Makefile
nand_spl/board/sheldon/simpc8313/Makefile