From: Michael Ellerman Date: Tue, 15 Nov 2016 03:47:44 +0000 (+1100) Subject: powerpc/pseries: Disable IBMEBUS on little endian builds X-Git-Tag: v5.15~12232^2~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90ee8762e2b2d5c6e9fa6463f9db8bcb5d9df405;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index fbf2e44..e1c280a 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.