From: TsiChung Liew Date: Thu, 13 Mar 2008 19:26:32 +0000 (-0500) Subject: ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=43d60642395a550956cb21d287c8cfa563913d28;p=project%2Fbcm63xx%2Fu-boot.git ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282 Signed-off-by: TsiChung Liew Acked-by: John Rigby --- 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