From 43d60642395a550956cb21d287c8cfa563913d28 Mon Sep 17 00:00:00 2001 From: TsiChung Liew Date: Thu, 13 Mar 2008 14:26:32 -0500 Subject: 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(-) (limited to 'cpu') diff --git a/cpu/mcf52x2/start.S b/cpu/mcf52x2/start.S index 260a09abf..c086ca7be 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 -- cgit v1.2.3