bfin: make the CPU macro of LDR target more genenric

Remove BFIN from the CPU macro in Makefile.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
master
Sonic Zhang 10 years ago
parent 11ada9225a
commit 240182d59a
  1. 2
      Makefile
  2. 2
      arch/blackfin/include/asm/config.h

@ -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

@ -178,4 +178,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_ARCH_MISC_INIT
#define CONFIG_CPU CONFIG_BFIN_CPU
#endif

Loading…
Cancel
Save