[PATCH 3/3] ARM: sunxi: enable big-endian

Michael Weiser michael.weiser at gmx.de
Thu Jul 21 11:23:29 PDT 2016


At least the Cubieboard2 incarnation of sunxi works correctly in
big-endian mode. Allow the selection of big-endian.

Signed-off-by: Michael Weiser <michael.weiser at gmx.de>
Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
Cc: Chen-Yu Tsai <wens at csie.org>
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/mach-sunxi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index c124d65..4dcbbfe 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1,6 +1,7 @@
 menuconfig ARCH_SUNXI
 	bool "Allwinner SoCs"
 	depends on ARCH_MULTI_V7
+	select ARCH_SUPPORTS_BIG_ENDIAN
 	select ARCH_REQUIRE_GPIOLIB
 	select ARCH_HAS_RESET_CONTROLLER
 	select CLKSRC_MMIO
-- 
2.9.0




More information about the linux-arm-kernel mailing list