86xx: Remove redudant PLATFORM_CPPFLAGS
authorKumar Gala <galak@kernel.crashing.org>
Thu, 6 Aug 2009 23:38:43 +0000 (18:38 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 28 Aug 2009 22:12:37 +0000 (17:12 -0500)
For historic reasons we had defined some additional PLATFORM_CPPFLAGS like:

PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1
PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1

However these are all captured in the config.h and thus redudant.  Also
moved common 86xx flags into cpu/mpc86xx/config.mk.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8610hpcd/config.mk
board/freescale/mpc8641hpcn/config.mk
board/sbc8641d/config.mk
board/xes/xpedite5170/config.mk
cpu/mpc86xx/config.mk

index 99e7bd4797ed390882978c58c527ee25f76351ad..798f60a962eaedbee02932717a414c1de0e0e0e8 100644 (file)
@@ -20,6 +20,3 @@
 #
 
 TEXT_BASE = 0xfff00000
-
-PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1
-PLATFORM_CPPFLAGS += -DCONFIG_MPC8610=1 -maltivec -mabi=altivec -msoft-float
index 487a766998b01a95a74080a413d9728d9c261ead..3315d25e9ac0b67834bd64e257b9b53745002118 100644 (file)
@@ -26,6 +26,3 @@
 # assume U-Boot is less than 0.5MB
 #
 TEXT_BASE = 0xeff00000
-
-PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1
-PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1 -maltivec -mabi=altivec -msoft-float
index dd1754d2bcaf4553a4bac90dff697aca8bfb8a07..d1456b91de28d6ae58b2ae0410cefbfca4b2530a 100644 (file)
@@ -25,6 +25,3 @@
 # default CCSRBAR is at 0xff700000
 #
 TEXT_BASE = 0xfff00000
-
-PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1
-PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1 -maltivec -mabi=altivec -msoft-float
index c3df6d5ba1868155253f7dbac0cf023da3e2f7c2..77c5785bb7b0a98b4124eb5c9de921f387747a50 100644 (file)
@@ -27,6 +27,3 @@
 TEXT_BASE = 0xfff00000
 
 PLATFORM_RELFLAGS += -mrelocatable
-
-PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1
-PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1 -maltivec -mabi=altivec -msoft-float
index d767269ad3ddd3655398bc7c929672aeb7aa6036..13da2cfc2ac49e62925515c46bb24aad1c683282 100644 (file)
@@ -23,4 +23,5 @@
 
 PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 
-PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx -ffixed-r2 -mstring
+PLATFORM_CPPFLAGS += -ffixed-r2 -mstring
+PLATFORM_CPPFLAGS += -maltivec -mabi=altivec -msoft-float