diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-23 14:19:23 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-08 00:44:26 -0400 |
commit | ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3 (patch) | |
tree | 9d17d4e09c6f5c009407676dc71ad1f5bee18ee5 /arch/blackfin | |
parent | fbb21ff0478f1bac0b009133bf82b7412ea0230b (diff) | |
download | u-boot-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.tar.gz u-boot-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.tar.xz u-boot-ec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3.zip |
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.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/config.mk b/arch/blackfin/config.mk index 92520e85eb..4102c6f544 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 |