summaryrefslogtreecommitdiff
path: root/blackfin_config.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-30 19:46:13 (GMT)
committerMike Frysinger <vapier@gentoo.org>2008-03-30 19:50:19 (GMT)
commit9171fc81722c20fdb5a829a58b17c9eaadd5fb44 (patch)
treed5b8741232955f2c01b0c36c46c867d15e8245a7 /blackfin_config.mk
parent9ce7e53abd039decea1af67aec81bbd5df7a2593 (diff)
downloadu-boot-9171fc81722c20fdb5a829a58b17c9eaadd5fb44.tar.xz
Blackfin: unify cpu and boot modes
All of the duplicated code for Blackfin processors and boot modes have been unified. After all, the core is the same for all processors, just the peripheral set differs (which gets handled in the drivers). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'blackfin_config.mk')
-rw-r--r--blackfin_config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/blackfin_config.mk b/blackfin_config.mk
index d90eb23..a9a3d1a 100644
--- a/blackfin_config.mk
+++ b/blackfin_config.mk
@@ -21,6 +21,9 @@
# MA 02111-1307 USA
#
+CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU)))
+CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
+
PLATFORM_RELFLAGS += -ffixed-P5
PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN