]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Make non-PCI build work again
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Dec 2007 04:37:07 +0000 (15:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 21 Dec 2007 11:14:08 +0000 (22:14 +1100)
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>
arch/powerpc/Kconfig
arch/powerpc/platforms/maple/Kconfig
arch/powerpc/platforms/pasemi/Kconfig

index 232c298c933fa3601b9fa9099b3eeee26e40d514..d40844f9b047da2e512de8b2c9ded9b00ca094ce 100644 (file)
@@ -160,6 +160,7 @@ config PPC_DCR
 
 config PPC_OF_PLATFORM_PCI
        bool
+       depends on PCI
        depends on PPC64 # not supported on 32 bits yet
        default n
 
@@ -417,7 +418,7 @@ endmenu
 
 config ISA_DMA_API
        bool
-       default y
+       default !PPC_ISERIES || PCI
 
 menu "Bus options"
 
index f7c95eb5d8baee6ac87afe31c57f5fa98a8c610c..a6467a5591fa921a3ac4faa0ea5b6450c08f5ea2 100644 (file)
@@ -1,6 +1,7 @@
 config PPC_MAPLE
        depends on PPC_MULTIPLATFORM && PPC64
        bool "Maple 970FX Evaluation Board"
+       select PCI
        select MPIC
        select U3_DART
        select MPIC_U3_HT_IRQS
index 2f4dd6e4aac112b44d57cdbbcad734c4adac901e..b3458a181a150cb93277b5cf09e85cfd13722e76 100644 (file)
@@ -3,6 +3,7 @@ config PPC_PASEMI
        bool "PA Semi SoC-based platforms"
        default n
        select MPIC
+       select PCI
        select PPC_UDBG_16550
        select PPC_NATIVE
        select MPIC_BROKEN_REGREAD