Skip to content

Commit

Permalink
[POWERPC] Make non-PCI build work again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 21, 2007
1 parent 70fbb93 commit 373a6da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -417,7 +418,7 @@ endmenu

config ISA_DMA_API
bool
default y
default !PPC_ISERIES || PCI

menu "Bus options"

Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/maple/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/pasemi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 373a6da

Please sign in to comment.