[POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / powerpc / Kconfig
index 0e564d30fc468050b68b0df5e1c2e404563f3054..3e89d9d34937fd9c5e60e04caf653848240b0610 100644 (file)
@@ -223,6 +223,11 @@ config PPC_DCR
        depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
        default y
 
+config PPC_OF_PLATFORM_PCI
+       bool
+       depends on PPC64 # not supported on 32 bits yet
+       default n
+
 config BOOKE
        bool
        depends on E200 || E500
@@ -389,6 +394,7 @@ config PPC_PSERIES
 config PPC_ISERIES
        bool "IBM Legacy iSeries"
        depends on PPC_MULTIPLATFORM && PPC64
+       select PPC_INDIRECT_IO
 
 config PPC_CHRP
        bool "Common Hardware Reference Platform (CHRP) based machines"
@@ -469,6 +475,8 @@ config PPC_CELL_NATIVE
        bool
        select PPC_CELL
        select PPC_DCR_MMIO
+       select PPC_OF_PLATFORM_PCI
+       select MPIC
        default n
 
 config PPC_IBM_CELL_BLADE
@@ -541,6 +549,15 @@ config PPC_970_NAP
        bool
        default n
 
+config PPC_INDIRECT_IO
+       bool
+       select GENERIC_IOMAP
+       default n
+
+config GENERIC_IOMAP
+       bool
+       default n
+
 source "drivers/cpufreq/Kconfig"
 
 config CPU_FREQ_PMAC