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 :-)
*/
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.
*/