From 43d60642395a550956cb21d287c8cfa563913d28 Mon Sep 17 00:00:00 2001 From: TsiChung Liew Date: Thu, 13 Mar 2008 14:26:32 -0500 Subject: [PATCH] ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282 Signed-off-by: TsiChung Liew Acked-by: John Rigby --- cpu/mcf52x2/start.S | 4 ++-- 1 file 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 -- 2.25.1