[U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S
Reinhard Arlt
reinhard.arlt at esd.eu
Fri Nov 18 19:50:11 CET 2011
From: Reinhard Arlt <reinhard.arlt at esd.eu>
Do not enable the data cache in start.S, the decrementer do not work.
Signed-off-by: Reinhard Arlt <reinhard.arlt at esd.eu>
--
diff --git a/arch/powerpc/cpu/74xx_7xx/start.S b/arch/powerpc/cpu/74xx_7xx/start.S
index 75fb773..131fc14 100644
--- a/arch/powerpc/cpu/74xx_7xx/start.S
+++ b/arch/powerpc/cpu/74xx_7xx/start.S
@@ -247,11 +247,12 @@ in_flash:
/* enable address translation */
bl enable_addr_trans
sync
-
+#if !defined(CONFIG_CPCI750)
/* enable and invalidate the data cache */
bl l1dcache_enable
sync
#endif
+#endif
#ifdef CONFIG_SYS_INIT_RAM_LOCK
bl lock_ram_in_cache
sync
More information about the U-Boot
mailing list