diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-23 19:19:23 (GMT) |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-08 04:44:26 (GMT) |
commit | ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3 (patch) | |
tree | 9d17d4e09c6f5c009407676dc71ad1f5bee18ee5 /arch/blackfin/config.mk | |
parent | fbb21ff0478f1bac0b009133bf82b7412ea0230b (diff) | |
download | u-boot-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.tar.xz |
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/config.mk')
-rw-r--r-- | arch/blackfin/config.mk | 3 |
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 |