summaryrefslogtreecommitdiff
path: root/arch/sh
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/sh
parent13d72f02efc15766f72a65fa05554a86edd248e1 (diff)
downloadu-boot-imx-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.zip
u-boot-imx-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.tar.gz
u-boot-imx-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.tar.bz2
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/sh')
-rw-r--r--arch/sh/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/config.mk b/arch/sh/config.mk
index cd851f5..af57307 100644
--- a/arch/sh/config.mk
+++ b/arch/sh/config.mk
@@ -23,9 +23,9 @@
CROSS_COMPILE ?= sh4-linux-
-STANDALONE_LOAD_ADDR = 0x8C000000
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000
ifeq ($(CPU),sh2)
-STANDALONE_LOAD_ADDR += -EB
+CONFIG_STANDALONE_LOAD_ADDR += -EB
endif
PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__