summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-03-13 14:26:32 -0500
committerTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-03-31 15:17:10 -0500
commit43d60642395a550956cb21d287c8cfa563913d28 (patch)
tree790f5c9efd47e5af876c22bd83fa86cfcee03bda /cpu
parent74d1e66d22dac91388bc538b2fe19f735edc5b82 (diff)
downloadtalos-obmc-uboot-43d60642395a550956cb21d287c8cfa563913d28.tar.gz
talos-obmc-uboot-43d60642395a550956cb21d287c8cfa563913d28.zip
ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mcf52x2/start.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mcf52x2/start.S b/cpu/mcf52x2/start.S
index 260a09abf7..c086ca7beb 100644
--- a/cpu/mcf52x2/start.S
+++ b/cpu/mcf52x2/start.S
@@ -160,7 +160,7 @@ _copy_flash:
_flashbar_setup:
/* Initialize FLASHBAR: locate internal Flash and validate it */
move.l #(CFG_INT_FLASH_BASE + CFG_INT_FLASH_ENABLE), %d0
- movec %d0, %RAMBAR0
+ movec %d0, %FLASHBAR
jmp _after_flashbar_copy.L /* Force jump to absolute address */
_flashbar_setup_end:
nop
@@ -168,7 +168,7 @@ _after_flashbar_copy:
#else
/* Setup code to initialize FLASHBAR, if start from external Memory */
move.l #(CFG_INT_FLASH_BASE + CFG_INT_FLASH_ENABLE), %d0
- movec %d0, %RAMBAR0
+ movec %d0, %RAMBAR1
#endif /* (TEXT_BASE == CFG_INT_FLASH_BASE) */
#endif
OpenPOWER on IntegriCloud