public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S
@ 2011-11-18 18:50 Reinhard Arlt
  2011-12-05 21:56 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Reinhard Arlt @ 2011-11-18 18:50 UTC (permalink / raw)
  To: u-boot

From: Reinhard Arlt <reinhard.arlt@esd.eu>

Do not enable the data cache in start.S, the decrementer do not work.

Signed-off-by: Reinhard Arlt <reinhard.arlt@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-05 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 18:50 [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S Reinhard Arlt
2011-12-05 21:56 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox