From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xJdnf4hXgzDrMS for ; Fri, 28 Jul 2017 16:13:26 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) by bilbo.ozlabs.org (Postfix) with ESMTP id 3xJdnf3wxLz8t1G for ; Fri, 28 Jul 2017 16:13:26 +1000 (AEST) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xJdnf0fdNz9s65 for ; Fri, 28 Jul 2017 16:13:25 +1000 (AEST) Received: by mail-io0-x244.google.com with SMTP id q64so9035557ioi.0 for ; Thu, 27 Jul 2017 23:13:25 -0700 (PDT) Message-ID: <1501222398.3324.7.camel@gmail.com> Subject: Re: [PATCH] powerpc/configs: Add a powernv_be_defconfig From: Cyril Bur To: Michael Ellerman , linuxppc-dev@ozlabs.org Date: Fri, 28 Jul 2017 16:13:18 +1000 In-Reply-To: <1500900645-12237-1-git-send-email-mpe@ellerman.id.au> References: <1500900645-12237-1-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2017-07-24 at 22:50 +1000, Michael Ellerman wrote: > Although pretty much everyone using powernv is running little endian, > we should still test we can build for big endian. So add a > powernv_be_defconfig, which is autogenerated by flipping the endian > symbol in powernv_defconfig. > > Signed-off-by: Michael Ellerman Reviewed-by: Cyril Bur > --- > arch/powerpc/Makefile | 4 ++++ > arch/powerpc/configs/be.config | 1 + > 2 files changed, 5 insertions(+) > create mode 100644 arch/powerpc/configs/be.config > > diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile > index 8d4ed73d5490..7b8eddfc46d2 100644 > --- a/arch/powerpc/Makefile > +++ b/arch/powerpc/Makefile > @@ -316,6 +316,10 @@ PHONY += ppc64le_defconfig > ppc64le_defconfig: > $(call merge_into_defconfig,ppc64_defconfig,le) > > +PHONY += powernv_be_defconfig > +powernv_be_defconfig: > + $(call merge_into_defconfig,powernv_defconfig,be) > + > PHONY += mpc85xx_defconfig > mpc85xx_defconfig: > $(call merge_into_defconfig,mpc85xx_basic_defconfig,\ > diff --git a/arch/powerpc/configs/be.config b/arch/powerpc/configs/be.config > new file mode 100644 > index 000000000000..c5cdc99a6530 > --- /dev/null > +++ b/arch/powerpc/configs/be.config > @@ -0,0 +1 @@ > +CONFIG_CPU_BIG_ENDIAN=y