]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Thu, 13 Mar 2008 19:26:32 +0000 (14:26 -0500)
committerTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Mon, 31 Mar 2008 20:17:10 +0000 (15:17 -0500)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
cpu/mcf52x2/start.S

index 260a09abf76ffdcdd1c1a8ff4451993f9b9556bc..c086ca7bebf1af1be1665d824053dfd416413570 100644 (file)
@@ -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