summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-08-12 18:45:26 +0800
committerSonic Zhang <sonic.zhang@analog.com>2014-11-10 12:11:00 +0800
commit240182d59aabe2a7ee5a728b9ae59024951e3e24 (patch)
tree044c723f5c2e368826062e44f5156d67f6f8f836
parent11ada9225a16ed2d8ddbf0715a2416245a777cbc (diff)
downloadblackbird-obmc-uboot-240182d59aabe2a7ee5a728b9ae59024951e3e24.tar.gz
blackbird-obmc-uboot-240182d59aabe2a7ee5a728b9ae59024951e3e24.zip
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>
-rw-r--r--Makefile2
-rw-r--r--arch/blackfin/include/asm/config.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c8a580131..9d38ad2392 100644
--- 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
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h
index 836658a1c4..73cbfa2cc8 100644
--- a/arch/blackfin/include/asm/config.h
+++ b/arch/blackfin/include/asm/config.h
@@ -178,4 +178,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_ARCH_MISC_INIT
+#define CONFIG_CPU CONFIG_BFIN_CPU
+
#endif
OpenPOWER on IntegriCloud