summaryrefslogtreecommitdiff
path: root/cpu/mcf5227x
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2009-01-27 15:19:35 +0000
committerJohn Rigby <jrigby@freescale.com>2009-03-17 15:58:37 -0600
commit42b68af1062f75bb4a91cf47e329a7e8100cd815 (patch)
tree3513aba0c295954644b91368d6d8cc7bc81c84b5 /cpu/mcf5227x
parentd6e4baf49987fc6f75e8574c0c27301a828b3132 (diff)
downloadu-boot-imx-42b68af1062f75bb4a91cf47e329a7e8100cd815.zip
u-boot-imx-42b68af1062f75bb4a91cf47e329a7e8100cd815.tar.gz
u-boot-imx-42b68af1062f75bb4a91cf47e329a7e8100cd815.tar.bz2
ColdFire: PLATFORM_CPPFLAGS updates for new compiler
Update PLATFORM_CPPFLAGS to accept 4.3.x version of ColdFire compiler. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu/mcf5227x')
-rw-r--r--cpu/mcf5227x/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mcf5227x/config.mk b/cpu/mcf5227x/config.mk
index 8d60fd6..8eab49d 100644
--- a/cpu/mcf5227x/config.mk
+++ b/cpu/mcf5227x/config.mk
@@ -24,8 +24,8 @@
#
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
-ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
-PLATFORM_CPPFLAGS += -mcpu=5208 -fPIC
+ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1)
+PLATFORM_CPPFLAGS += -mcpu=52277 -fPIC
else
PLATFORM_CPPFLAGS += -m5307 -fPIC
endif