* [PATCH] powerpc/configs: Add a powernv_be_defconfig
@ 2017-07-24 12:50 Michael Ellerman
2017-07-28 6:13 ` Cyril Bur
2017-08-07 10:41 ` Michael Ellerman
0 siblings, 2 replies; 3+ messages in thread
From: Michael Ellerman @ 2017-07-24 12:50 UTC (permalink / raw)
To: linuxppc-dev
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 <mpe@ellerman.id.au>
---
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
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc/configs: Add a powernv_be_defconfig
2017-07-24 12:50 [PATCH] powerpc/configs: Add a powernv_be_defconfig Michael Ellerman
@ 2017-07-28 6:13 ` Cyril Bur
2017-08-07 10:41 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Cyril Bur @ 2017-07-28 6:13 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
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 <mpe@ellerman.id.au>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: powerpc/configs: Add a powernv_be_defconfig
2017-07-24 12:50 [PATCH] powerpc/configs: Add a powernv_be_defconfig Michael Ellerman
2017-07-28 6:13 ` Cyril Bur
@ 2017-08-07 10:41 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2017-08-07 10:41 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
On Mon, 2017-07-24 at 12:50:45 UTC, 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 <mpe@ellerman.id.au>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/3603c52f02ee3ad536e4cd08ac08e9
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-07 10:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24 12:50 [PATCH] powerpc/configs: Add a powernv_be_defconfig Michael Ellerman
2017-07-28 6:13 ` Cyril Bur
2017-08-07 10:41 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).