Patchwork [RFC,v2,05/11] powerpc: gamecube/wii: declare as non-coherent platforms

login
register
mail settings
Submitter Albert Herranz
Date Nov. 28, 2009, 8:43 p.m.
Message ID <1259441037-15725-6-git-send-email-albert_herranz@yahoo.es>
Download mbox | patch
Permalink /patch/39705/
State Superseded
Headers show

Comments

Albert Herranz - Nov. 28, 2009, 8:43 p.m.
The processors bundled in the Nintendo GameCube and Wii video game consoles
require explicit cache handling when DMA engines are used.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
---
 arch/powerpc/platforms/Kconfig.cputype |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index e382cae..80d934b 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -312,7 +312,7 @@  config NR_CPUS
 
 config NOT_COHERENT_CACHE
 	bool
-	depends on 4xx || 8xx || E200 || PPC_MPC512x
+	depends on 4xx || 8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON
 	default y
 
 config CHECK_CACHE_COHERENCY