Skip to contentSkip to conversation

bfin: make the CPU macro of LDR target more genenric

PATCH New Sonic Zhang 1 participant 1 message Aug 12, 2014 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bfin: make the CPU macro of LDR target more genenric

From: Sonic Zhang <[email protected]>

Remove BFIN from the CPU macro in Makefile.

---

 Makefile                           | 2 +-
 arch/blackfin/include/asm/config.h | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
Makefile +1 -1
index 666d291..2da17de 100644
@@ -822,7 +822,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
arch/blackfin/include/asm/config.h +2 -0
index 836658a..73cbfa2 100644
@@ -178,4 +178,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_ARCH_MISC_INIT
 
+#define CONFIG_CPU CONFIG_BFIN_CPU
+
 #endif
Signature · 1 line
1.8.2.3