bfin: make the CPU macro of LDR target more genenric
[platform/kernel/u-boot.git] / Makefile
index 9c8a580..9d38ad2 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