[U-Boot] [PATCH] [NEXT] Make STANDALONE_LOAD_ADDR configurable per board

Wolfgang Denk wd at denx.de
Tue Apr 12 21:21:41 CEST 2011


Dear Wolfgang Denk,

In message <1296825917-31025-1-git-send-email-wd at denx.de> you wrote:
> Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR
> and allow that the architecture-specific default value gets
> overwritten by defining the value in the board header file.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Mike Frysinger <vapier at gentoo.org>
> Cc: Shinya Kuribayashi <skuribay at ruby.dti.ne.jp>
> Cc: Daniel Hellstrom <daniel at gaisler.com>
> Cc: Tsi Chung Liew <tsi-chung.liew at freescale.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> ---
> Note that some architectures (blackfin, coldfire, mips, sh, sparc)
> misuse the CONFIG_STANDALONE_LOAD_ADDR variable to not only specify
> the load address (as the name suggests), but also to supply additional
> linker options:
> 
> arch/blackfin/config.mk:CONFIG_STANDALONE_LOAD_ADDR ?= 0x1000 -m elf32bfin
> arch/m68k/config.mk:CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000 -L $(clibdir)
> arch/mips/config.mk:CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds
> arch/sh/config.mk:CONFIG_STANDALONE_LOAD_ADDR += -EB
> arch/sparc/config.mk:CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) -T sparc.lds
> 
> Please clean this up!  Thanks   -- wd


Applied.

[Custodians: please re-read the note!]

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
Operating-system software is the program that  orchestrates  all  the
basic functions of a computer.
- The Wall Street Journal, Tuesday, September 15, 1987, page 40


More information about the U-Boot mailing list