powerpc/configs: Add a powernv_be_defconfig
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Jul 2017 12:50:45 +0000 (22:50 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 31 Jul 2017 06:56:37 +0000 (16:56 +1000)
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
arch/powerpc/configs/be.config [new file with mode: 0644]

index 8d4ed73d549091368be87c5b4483f33d6b00640d..7b8eddfc46d22c2beddf43d5d5d3bf603e5af81e 100644 (file)
@@ -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 (file)
index 0000000..c5cdc99
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_CPU_BIG_ENDIAN=y