]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Blackfin: use common LDSCRIPT logic
authorMike Frysinger <vapier@gentoo.org>
Fri, 8 Apr 2011 04:52:06 +0000 (00:52 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 3 Jun 2011 17:26:45 +0000 (13:26 -0400)
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>
arch/blackfin/config.mk
arch/blackfin/cpu/u-boot.lds [moved from arch/blackfin/lib/u-boot.lds.S with 100% similarity]

index f0909e95d2e1e7230d24a18e739dfda0339f1e27..71fd53fba61efa5ac357babdea3c1429ca1b81be 100644 (file)
@@ -76,10 +76,6 @@ LDR_FLAGS += $(LDR_FLAGS-y)
 # Set some default LDR flags based on boot mode.
 LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
 
 # 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
-
 ifneq ($(CONFIG_SYS_TEXT_BASE),)
 $(error do not set CONFIG_SYS_TEXT_BASE for Blackfin boards)
 endif
 ifneq ($(CONFIG_SYS_TEXT_BASE),)
 $(error do not set CONFIG_SYS_TEXT_BASE for Blackfin boards)
 endif