Blackfin: use common LDSCRIPT logic
Now that common code is a bit smarter when it comes to default LDSCRIPT values, rename the default Blackfin file and drop the Blackfin-specific config.mk logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
6f4dd40cdd
commit
867f54cc35
|
@ -76,10 +76,6 @@ LDR_FLAGS += $(LDR_FLAGS-y)
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_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
|
|
||||||
|
|
||||||
ifneq ($(CONFIG_SYS_TEXT_BASE),)
|
ifneq ($(CONFIG_SYS_TEXT_BASE),)
|
||||||
$(error do not set CONFIG_SYS_TEXT_BASE for Blackfin boards)
|
$(error do not set CONFIG_SYS_TEXT_BASE for Blackfin boards)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue