]> git.sur5r.net Git - u-boot/blobdiff - cpu/mcf52x2/start.S
powerpc: Fix bootm to boot up again with a Ramdisk
[u-boot] / cpu / mcf52x2 / start.S
index 2bc0df39cadccbcc13f51d8a00a1de98b67afe56..2e8ecfbe68c0985426ca9f25a7e6733251cb94c3 100644 (file)
@@ -166,7 +166,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, %RAMBAR1
+       movec   %d0, %FLASHBAR
 #endif /* (TEXT_BASE == CFG_INT_FLASH_BASE) */
 
 #endif
@@ -248,14 +248,14 @@ relocate_code:
  * We are done. Do not return, instead branch to second part of board
  * initialization, now running from RAM.
  */
-       move.l  %a0, %a1
+       move.l  %a0, %a1
        add.l   #(in_ram - CFG_MONITOR_BASE), %a1
        jmp     (%a1)
 
 in_ram:
 
 clear_bss:
-       /*
+       /*
         * Now clear BSS segment
         */
        move.l  %a0, %a1
@@ -416,7 +416,7 @@ icache_enable:
         *  Note: The 5249 Documentation doesn't give a bit position for CINV!
         *  From the 5272 and the 5307 documentation, I have deduced that it is
         *  probably CACR[24]. Should someone say something to Motorola?
-        *      ~Jeremy
+        *      ~Jeremy
         */
        move.l  #0x01000000, %d0                /* Invalidate whole cache */
        move.c  %d0,%CACR