mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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>
This commit is contained in:
parent
11ada9225a
commit
240182d59a
2
Makefile
2
Makefile
|
@ -827,7 +827,7 @@ u-boot.bin: u-boot FORCE
|
||||||
|
|
||||||
u-boot.ldr: u-boot
|
u-boot.ldr: u-boot
|
||||||
$(CREATE_LDR_ENV)
|
$(CREATE_LDR_ENV)
|
||||||
$(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS)
|
$(LDR) -T $(CONFIG_CPU) -c $@ $< $(LDR_FLAGS)
|
||||||
$(BOARD_SIZE_CHECK)
|
$(BOARD_SIZE_CHECK)
|
||||||
|
|
||||||
OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex
|
OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex
|
||||||
|
|
|
@ -178,4 +178,6 @@
|
||||||
#define CONFIG_DISPLAY_CPUINFO
|
#define CONFIG_DISPLAY_CPUINFO
|
||||||
#define CONFIG_ARCH_MISC_INIT
|
#define CONFIG_ARCH_MISC_INIT
|
||||||
|
|
||||||
|
#define CONFIG_CPU CONFIG_BFIN_CPU
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user