[RFC PATCH v2 06/11] powerpc: gamecube/wii: do not include PCI support

Albert Herranz albert_herranz at yahoo.es
Sun Nov 29 07:43:52 EST 2009


The Nintendo GameCube and Wii video game consoles do not have PCI hardware.
Avoid wasting their scarce memory by not including PCI support into the
kernel.

Signed-off-by: Albert Herranz <albert_herranz at yahoo.es>
---
v1 -> v2
- Drop selection of NOT_COHERENT_CACHE when GAMECUBE_COMMON is set
  and just make NOT_COHERENT_CACHE depend on GAMECUBE_COMMON.
  Suggestion by Arnd Bergmann.

 arch/powerpc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 2ba14e7..84b2566 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -679,7 +679,7 @@ config PPC_PCI_CHOICE
 config PCI
 	bool "PCI support" if PPC_PCI_CHOICE
 	default y if !40x && !CPM2 && !8xx && !PPC_83xx \
-		&& !PPC_85xx && !PPC_86xx
+		&& !PPC_85xx && !PPC_86xx && !GAMECUBE_COMMON
 	default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
 	default PCI_QSPAN if !4xx && !CPM2 && 8xx
 	select ARCH_SUPPORTS_MSI
-- 
1.6.3.3



More information about the Linuxppc-dev mailing list