summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-02-04 14:25:17 +0100
committerWolfgang Denk <wd@denx.de>2011-04-12 22:58:32 +0200
commit8ae86b76c648d8bef97241c78e2fddb1c4f164d3 (patch)
treeedfb0ed97fa96eb19bd494376a96227818664082 /arch/powerpc/config.mk
parent13d72f02efc15766f72a65fa05554a86edd248e1 (diff)
downloadu-boot-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.tar.gz
u-boot-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.tar.xz
u-boot-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.zip
Make STANDALONE_LOAD_ADDR configurable per board
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@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Tsi Chung Liew <tsi-chung.liew@freescale.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/powerpc/config.mk')
-rw-r--r--arch/powerpc/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index 8d72fbd7ec..3afc439e58 100644
--- a/arch/powerpc/config.mk
+++ b/arch/powerpc/config.mk
@@ -23,7 +23,7 @@
CROSS_COMPILE ?= ppc_8xx-
-STANDALONE_LOAD_ADDR = 0x40000
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
LDFLAGS_FINAL += --gc-sections
PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections
PLATFORM_RELFLAGS += $(call cc-option,-msingle-pic-base,)