]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/pseries: Disable IBMEBUS on little endian builds
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Nov 2016 03:47:44 +0000 (14:47 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Nov 2016 12:02:18 +0000 (23:02 +1100)
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>
arch/powerpc/platforms/pseries/Kconfig

index fbf2e4477f88c5a03b60252d156b0c28a0c7c7e6..e1c280a95d58ea8b1ce85ee6f1e7f41ec573c824 100644 (file)
@@ -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.