]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/mcf52x2/start.S
Preliminary support for the iDMR board (ColdFire).
[karo-tx-uboot.git] / cpu / mcf52x2 / start.S
index f1f4077ebca48fa2aed98c1c0295c7af1e899dd8..7c9a7d2d2bd786939eb6b7db127e1481f54fd897 100644 (file)
@@ -140,11 +140,11 @@ _start:
        move.l  #(CFG_MBAR + 1), %d0            /* set IPSBAR address + valid flag */
        move.l  %d0, 0x40000000
 
-#if defined(CONFIG_M5282)
        /* Initialize RAMBAR1: locate SRAM and validate it */
        move.l  #(CFG_INIT_RAM_ADDR + 0x21), %d0
        movec   %d0, %RAMBAR1
 
+#if defined(CONFIG_M5282)
 #if (TEXT_BASE == CFG_INT_FLASH_BASE)
        /* Setup code in SRAM to initialize FLASHBAR, if start from internal Flash */