[U-Boot] [PATCH] 83xx: Fix NAND_SPL link address

Wolfgang Denk wd at denx.de
Thu Nov 25 19:02:16 CET 2010


Dear Scott Wood,

In message <20101124232840.GA17013 at udp111988uds.am.freescale.net> you wrote:
> 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 at freescale.com>
> ---
> Compile tested on MPC8315ERDB and SIMPC8313
> Boot tested on MPC8313ERDB
> 
>  boards.cfg                                    |    6 ++--
>  include/configs/MPC8313ERDB.h                 |   27 +++++++++++++++++-------
>  include/configs/MPC8315ERDB.h                 |   23 +++++++++++++++-----
>  include/configs/SIMPC8313.h                   |   23 ++++++++++++---------
>  nand_spl/board/freescale/mpc8313erdb/Makefile |    4 +-
>  nand_spl/board/freescale/mpc8315erdb/Makefile |    4 +-
>  nand_spl/board/sheldon/simpc8313/Makefile     |    4 +-
>  7 files changed, 58 insertions(+), 33 deletions(-)

Tested building and image sizes.

Tested-by: Wolfgang Denk <wd at denx.de>
Acked-by: Wolfgang Denk <wd at denx.de>


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In accord with UNIX philosophy, Perl gives you enough  rope  to  hang
yourself.              - L. Wall & R. L. Schwartz, _Programming Perl_


More information about the U-Boot mailing list