summaryrefslogtreecommitdiff
path: root/arch/arm/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/arm/config.mk
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/arm/config.mk')
-rw-r--r--arch/arm/config.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index a6a4742..fcc26a2 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -23,13 +23,11 @@
CROSS_COMPILE ?= arm-linux-
-ifeq ($(BOARD),omap2420h4)
-STANDALONE_LOAD_ADDR = 0x80300000
-else
+ifndef CONFIG_STANDALONE_LOAD_ADDR
ifeq ($(SOC),omap3)
-STANDALONE_LOAD_ADDR = 0x80300000
+CONFIG_STANDALONE_LOAD_ADDR = 0x80300000
else
-STANDALONE_LOAD_ADDR = 0xc100000
+CONFIG_STANDALONE_LOAD_ADDR = 0xc100000
endif
endif