]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bfin: make the CPU macro of LDR target more genenric
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 12 Aug 2014 10:45:26 +0000 (18:45 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 10 Nov 2014 04:11:00 +0000 (12:11 +0800)
Remove BFIN from the CPU macro in Makefile.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Makefile
arch/blackfin/include/asm/config.h

index 9c8a58013145dccef1e8a5f429bf1eba932d3bd7..9d38ad2392c205bb6fe07886e3cd03cb8f16bfe4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -827,7 +827,7 @@ u-boot.bin: u-boot FORCE
 
 u-boot.ldr:    u-boot
                $(CREATE_LDR_ENV)
-               $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS)
+               $(LDR) -T $(CONFIG_CPU) -c $@ $< $(LDR_FLAGS)
                $(BOARD_SIZE_CHECK)
 
 OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex
index 836658a1c4f4a7c07a458aa1dfffe295097ff5fa..73cbfa2cc8bf418da10c0c220b52f5cefdb7d1aa 100644 (file)
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_ARCH_MISC_INIT
 
+#define CONFIG_CPU CONFIG_BFIN_CPU
+
 #endif