summaryrefslogtreecommitdiff
path: root/lib_blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-03 23:12:47 -0400
committerWolfgang Denk <wd@denx.de>2009-09-04 23:06:34 +0200
commit262ae0a6193f10b6a94e86d2f752e7f5510416fa (patch)
tree0ba26d6a18242cc5b817ed5506b43372d0ebdf22 /lib_blackfin
parent7662eb2b9d6fbc95ecb1fb3e5b5147215e251e7d (diff)
downloadu-boot-imx-262ae0a6193f10b6a94e86d2f752e7f5510416fa.zip
u-boot-imx-262ae0a6193f10b6a94e86d2f752e7f5510416fa.tar.gz
u-boot-imx-262ae0a6193f10b6a94e86d2f752e7f5510416fa.tar.bz2
push LOAD_ADDR out to arch mk files
Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in the standalone Makefile, push the setting up of LOAD_ADDR out to the arch config.mk (and rename to STANDALONE_LOAD_ADDR in the process). This keeps the common code clean and lets the arch do whatever crazy crap it wants in its own area. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin')
-rw-r--r--lib_blackfin/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_blackfin/config.mk b/lib_blackfin/config.mk
index 34b53e6..ce2fe67 100644
--- a/lib_blackfin/config.mk
+++ b/lib_blackfin/config.mk
@@ -23,6 +23,8 @@
CROSS_COMPILE ?= bfin-uclinux-
+STANDALONE_LOAD_ADDR = 0x1000
+
CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU)))
CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
CONFIG_ENV_OFFSET := $(strip $(subst ",,$(CONFIG_ENV_OFFSET)))