[U-Boot-Users] [PATCH] ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282
Tsi-Chung Liew
Tsi-Chung.Liew at freescale.com
Mon Mar 17 23:05:08 CET 2008
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
---
cpu/mcf52x2/start.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpu/mcf52x2/start.S b/cpu/mcf52x2/start.S
index 260a09a..c086ca7 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
--
1.5.4.1
More information about the U-Boot
mailing list