From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 21D9B1A01E7 for ; Wed, 22 Apr 2015 04:33:15 +1000 (AEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bn0106.outbound.protection.outlook.com [157.56.110.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 832E014011D for ; Wed, 22 Apr 2015 04:33:14 +1000 (AEST) Message-ID: <1429641183.4352.108.camel@freescale.com> Subject: Re: [PATCH 1/2] powerpc: Little endian should depend on PPC64 From: Scott Wood To: Michael Ellerman Date: Tue, 21 Apr 2015 13:33:03 -0500 In-Reply-To: <1429609312-32638-1-git-send-email-mpe@ellerman.id.au> References: <1429609312-32638-1-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, sam.mj@au1.ibm.com, Anton Blanchard List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2015-04-21 at 19:41 +1000, Michael Ellerman wrote: > The only little endian configuration we support is ppc64le, so we > shouldn't be asking which endian to use when building 32-bit kernels, > they are always big endian. > > Signed-off-by: Michael Ellerman > --- > arch/powerpc/platforms/Kconfig.cputype | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype > index 7264e91190be..12fc443b9d54 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -421,6 +421,7 @@ config CPU_BIG_ENDIAN > > config CPU_LITTLE_ENDIAN > bool "Build little endian kernel" > + depends on PPC64 > select PPC64_BOOT_WRAPPER > help > Build a little endian kernel. Shouldn't this be PPC_BOOK3S_64? -Scott