aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-12-20 23:37:07 -0500
committerPaul Mackerras <paulus@samba.org>2007-12-21 06:14:08 -0500
commit373a6da165ac3012a74fd072da340eabca55d031 (patch)
treeb78d45f1632aa7bf5828d04694b871ca975ba73b
parent70fbb9388365c3f6f9f17e6501a67f8636e4af08 (diff)
[POWERPC] Make non-PCI build work again
Maple and pasemi both require PCI as does CONFIG_OF_PLATFORM_PCI. The default setting of CONFIG_ISA_DMA_API is set to match the protection around the relevant routines in asm/dma.h. I also had to remove the PMAC platform from the combined build. The precis is that to build a 64 bit kernel with no PCI, you can only include pSeries and iSeries. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/Kconfig3
-rw-r--r--arch/powerpc/platforms/maple/Kconfig1
-rw-r--r--arch/powerpc/platforms/pasemi/Kconfig1
3 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 232c298c933f..d40844f9b047 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -160,6 +160,7 @@ config PPC_DCR
160 160
161config PPC_OF_PLATFORM_PCI 161config PPC_OF_PLATFORM_PCI
162 bool 162 bool
163 depends on PCI
163 depends on PPC64 # not supported on 32 bits yet 164 depends on PPC64 # not supported on 32 bits yet
164 default n 165 default n
165 166
@@ -417,7 +418,7 @@ endmenu
417 418
418config ISA_DMA_API 419config ISA_DMA_API
419 bool 420 bool
420 default y 421 default !PPC_ISERIES || PCI
421 422
422menu "Bus options" 423menu "Bus options"
423 424
diff --git a/arch/powerpc/platforms/maple/Kconfig b/arch/powerpc/platforms/maple/Kconfig
index f7c95eb5d8ba..a6467a5591fa 100644
--- a/arch/powerpc/platforms/maple/Kconfig
+++ b/arch/powerpc/platforms/maple/Kconfig
@@ -1,6 +1,7 @@
1config PPC_MAPLE 1config PPC_MAPLE
2 depends on PPC_MULTIPLATFORM && PPC64 2 depends on PPC_MULTIPLATFORM && PPC64
3 bool "Maple 970FX Evaluation Board" 3 bool "Maple 970FX Evaluation Board"
4 select PCI
4 select MPIC 5 select MPIC
5 select U3_DART 6 select U3_DART
6 select MPIC_U3_HT_IRQS 7 select MPIC_U3_HT_IRQS
diff --git a/arch/powerpc/platforms/pasemi/Kconfig b/arch/powerpc/platforms/pasemi/Kconfig
index 2f4dd6e4aac1..b3458a181a15 100644
--- a/arch/powerpc/platforms/pasemi/Kconfig
+++ b/arch/powerpc/platforms/pasemi/Kconfig
@@ -3,6 +3,7 @@ config PPC_PASEMI
3 bool "PA Semi SoC-based platforms" 3 bool "PA Semi SoC-based platforms"
4 default n 4 default n
5 select MPIC 5 select MPIC
6 select PCI
6 select PPC_UDBG_16550 7 select PPC_UDBG_16550
7 select PPC_NATIVE 8 select PPC_NATIVE
8 select MPIC_BROKEN_REGREAD 9 select MPIC_BROKEN_REGREAD