summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-11-15 14:47:44 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-18 23:02:18 +1100
commit90ee8762e2b2d5c6e9fa6463f9db8bcb5d9df405 (patch)
tree144f422c06ae3929a59e8ac5f7b678ef477bfa4e /arch
parent30757de2030d1729437419293996b51919ddc63a (diff)
downloadlinux-stable-90ee8762e2b2d5c6e9fa6463f9db8bcb5d9df405.tar.gz
linux-stable-90ee8762e2b2d5c6e9fa6463f9db8bcb5d9df405.tar.bz2
linux-stable-90ee8762e2b2d5c6e9fa6463f9db8bcb5d9df405.zip
powerpc/pseries: Disable IBMEBUS on little endian builds
The IBMEBUS code supports the GX bus found on Power7 and earlier CPUs. On Power8 it has been replaced, and so we have no need for it. We don't actually have a config symbol for Power8 vs Power7 etc., but we only support booting little endian on Power8 or later, so use that as a reasonable approximation. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pseries/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig
index fbf2e4477f88..e1c280a95d58 100644
--- a/arch/powerpc/platforms/pseries/Kconfig
+++ b/arch/powerpc/platforms/pseries/Kconfig
@@ -134,7 +134,7 @@ config IBMVIO
default y
config IBMEBUS
- depends on PPC_PSERIES
+ depends on PPC_PSERIES && !CPU_LITTLE_ENDIAN
bool "Support for GX bus based adapters"
help
Bus device driver for GX bus based adapters.