aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/platform/coldfire/head.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/platform/coldfire/head.S b/arch/m68k/platform/coldfire/head.S
index c33483824a2e..49666b4dd091 100644
--- a/arch/m68k/platform/coldfire/head.S
+++ b/arch/m68k/platform/coldfire/head.S
@@ -143,6 +143,9 @@ __HEAD
143_start: 143_start:
144 nop /* filler */ 144 nop /* filler */
145 movew #0x2700, %sr /* no interrupts */ 145 movew #0x2700, %sr /* no interrupts */
146 movel #CACHE_INIT,%d0 /* disable cache */
147 movec %d0,%CACR
148 nop
146#if defined(CONFIG_UBOOT) 149#if defined(CONFIG_UBOOT)
147 movel %sp,_init_sp /* save initial stack pointer */ 150 movel %sp,_init_sp /* save initial stack pointer */
148#endif 151#endif
@@ -176,9 +179,6 @@ _start:
176 * it is very similar. Define the exact settings in the headers 179 * it is very similar. Define the exact settings in the headers
177 * then the code here is the same for all. 180 * then the code here is the same for all.
178 */ 181 */
179 movel #CACHE_INIT,%d0 /* invalidate whole cache */
180 movec %d0,%CACR
181 nop
182 movel #ACR0_MODE,%d0 /* set RAM region for caching */ 182 movel #ACR0_MODE,%d0 /* set RAM region for caching */
183 movec %d0,%ACR0 183 movec %d0,%ACR0
184 movel #ACR1_MODE,%d0 /* anything else to cache? */ 184 movel #ACR1_MODE,%d0 /* anything else to cache? */