From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Mon, 22 Aug 2016 19:31:03 +0200 Subject: [PATCH 5/5] ARM: sunxi: enable big-endian In-Reply-To: <20160822164219.14272-6-michael.weiser@gmx.de> References: <20160822164219.14272-1-michael.weiser@gmx.de> <20160822164219.14272-6-michael.weiser@gmx.de> Message-ID: <20160822173103.GU7104@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Aug 22, 2016 at 06:42:19PM +0200, Michael Weiser wrote: > With previous fixes to stmmac, sun4i-emac and sun4i-mmc at least the > Cubieboard2 incarnation of sunxi works correctly in big-endian mode. > Allow the selection of big-endian. > > Tested using a Cubieboard2 DualCard and the following > hardware-components: > - GMAC (stmmac) > - EMAC (sun4i-emac) > - SATA > - SPI > - UART > - security system > - touchscreen controller hwmon functionality > - pinctrl (custom interrupt for SPI ethernet controller) > - watchdog as reset controller > - onboard RTC > - DS1307 I2C RTC > - sound codec and with this indirectly the DMA engine > > Signed-off-by: Michael Weiser > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > 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 096ed21..e564a73 100644 > --- a/arch/arm/mach-sunxi/Kconfig > +++ b/arch/arm/mach-sunxi/Kconfig > @@ -34,6 +34,7 @@ config MACH_SUN7I > select ARM_PSCI > select HAVE_ARM_ARCH_TIMER > select SUN5I_HSTIMER > + select ARCH_SUPPORTS_BIG_ENDIAN Fixed the (non-alphabetical) order, and applied. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: