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

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

Comments

Albert Herranz - Nov. 28, 2009, 8:43 p.m.
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@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(-)

Patch

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