powerpc: Little endian should depend on PPC_BOOK3S_64
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Apr 2015 05:36:50 +0000 (15:36 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2015 06:48:11 +0000 (16:48 +1000)
The only little endian configuration we support is ppc64le, all other
configurations are big endian.

So we should only offer a choice of endian if we're building for 64-bit
Book3S, ie. PPC_BOOK3S_64.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/Kconfig.cputype

index 724ecc79140457c4b9e6d269499faceba334aa0f..c140e94c7c72b466483fbf05be8eb82e084d346b 100644 (file)
@@ -431,6 +431,7 @@ config CPU_BIG_ENDIAN
 
 config CPU_LITTLE_ENDIAN
        bool "Build little endian kernel"
+       depends on PPC_BOOK3S_64
        select PPC64_BOOT_WRAPPER
        help
          Build a little endian kernel.