aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Frysinger2010-12-23 14:19:23 -0500
committerMike Frysinger2011-04-08 00:44:26 -0400
commitec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3 (patch)
tree9d17d4e09c6f5c009407676dc71ad1f5bee18ee5 /arch
parentfbb21ff0478f1bac0b009133bf82b7412ea0230b (diff)
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')
-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 92520e85ebf..4102c6f5446 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