summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-23 14:19:23 -0500
committerMike Frysinger <vapier@gentoo.org>2011-04-08 00:44:26 -0400
commitec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3 (patch)
tree9d17d4e09c6f5c009407676dc71ad1f5bee18ee5 /arch/blackfin
parentfbb21ff0478f1bac0b009133bf82b7412ea0230b (diff)
downloadu-boot-imx-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.zip
u-boot-imx-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.tar.gz
u-boot-imx-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.tar.bz2
Blackfin: unify bootmode based LDR_FLAGS setup
Unify this convention for all Blackfin boards. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/config.mk b/arch/blackfin/config.mk
index 92520e8..4102c6f 100644
--- a/arch/blackfin/config.mk
+++ b/arch/blackfin/config.mk
@@ -67,6 +67,9 @@ endif
LDR_FLAGS += $(LDR_FLAGS-y)
+# Set some default LDR flags based on boot mode.
+LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
+
ifeq ($(wildcard $(TOPDIR)/board/$(BOARD)/u-boot.lds*),)
LDSCRIPT = $(obj)arch/$(ARCH)/lib/u-boot.lds.S
endif