summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-17 02:28:26 +0100
committerWolfgang Denk <wd@denx.de>2007-11-17 02:28:26 +0100
commita75e1a3ddafd3ba0bdd870a1395fd2ae8585fb36 (patch)
treee73ec7f662fb01381ef2b87343ba77e504ff7eed /cpu/mcf5445x
parent9e5285eca4e9b285844f1db8f764ef769e12b130 (diff)
parent8d737a28152ec12873f8544cca1fb39a49e5e693 (diff)
downloadu-boot-imx-a75e1a3ddafd3ba0bdd870a1395fd2ae8585fb36.zip
u-boot-imx-a75e1a3ddafd3ba0bdd870a1395fd2ae8585fb36.tar.gz
u-boot-imx-a75e1a3ddafd3ba0bdd870a1395fd2ae8585fb36.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Diffstat (limited to 'cpu/mcf5445x')
-rw-r--r--cpu/mcf5445x/config.mk4
-rw-r--r--cpu/mcf5445x/start.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpu/mcf5445x/config.mk b/cpu/mcf5445x/config.mk
index d0c72fb..88433f2 100644
--- a/cpu/mcf5445x/config.mk
+++ b/cpu/mcf5445x/config.mk
@@ -24,4 +24,8 @@
#
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
+ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
+PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
+else
PLATFORM_CPPFLAGS += -m5407 -fPIC
+endif
diff --git a/cpu/mcf5445x/start.S b/cpu/mcf5445x/start.S
index cd989ab..423583d 100644
--- a/cpu/mcf5445x/start.S
+++ b/cpu/mcf5445x/start.S
@@ -136,7 +136,7 @@ _start:
movec %d0, %VBR
move.l #(CFG_INIT_RAM_ADDR + CFG_INIT_RAM_CTRL), %d0
- movec %d0, %RAMBAR0
+ movec %d0, %RAMBAR1
/* initialize general use internal ram */
move.l #0, %d0