+- add patches.fixes/linux-post-2.6.3-20040220
[linux-flexiantxendom0-3.2.10.git] / arch / m68knommu / platform / 5407 / MOTOROLA / crt0_ram.S
index 38c2b6d..05a899d 100644 (file)
@@ -99,10 +99,12 @@ _start:
        movec   %d0, %ACR3
 
        /* Enable cache */
-       move.l  #0xa4098400, %d0                /* Write buffer, dflt precise */
+       move.l  #0xb6088400, %d0                /* Enable caches */
        movec   %d0,%CACR
        nop
 
+
+#ifdef CONFIG_ROMFS_FS
        /*
         *      Move ROM filesystem above bss :-)
         */
@@ -124,6 +126,12 @@ _copy_romfs:
        cmp.l   %a0, %a2                        /* Check if at end */
        bne     _copy_romfs
 
+#else /* CONFIG_ROMFS_FS */
+       lea.l   _ebss, %a1
+       move.l  %a1, _ramstart
+#endif /* CONFIG_ROMFS_FS */
+
+
        /*
         *      Zero out the bss region.
         */