From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] ARM: sunxi: enable big-endian
Date: Mon, 22 Aug 2016 09:57:41 +0200 [thread overview]
Message-ID: <20160822075741.GC7104@lukather> (raw)
In-Reply-To: <20160802193115.850-6-michael.weiser@gmx.de>
Hi Michael,
On Tue, Aug 02, 2016 at 09:31:15PM +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 Cubieboard Two-Card 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
Thanks for all the testing, it's really appreciated :)
> Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Cc: Chen-Yu Tsai <wens@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 096ed21..cdeba4a 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
However, you only tested it on the A20. I'd like to be conservative on
this one and only enable it on tested platforms. In this case, that
would mean to only select it for MACH_SUN7I.
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: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160822/38134afd/attachment.sig>
next prev parent reply other threads:[~2016-08-22 7:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 19:31 [PATCH 0/5 v3] Fixes for running a big-endian kernel on Cubieboard2 Michael Weiser
2016-08-02 19:31 ` [PATCH 1/5] mmc: sunxi-mmc: change idma descriptor to __le32 Michael Weiser
2016-08-22 13:38 ` Ulf Hansson
2016-08-02 19:31 ` [PATCH 2/5] net: ethernet: stmmac: change dma descriptors " Michael Weiser
2016-08-02 19:31 ` [PATCH 3/5] net: ethernet: sun4i-emac: Allow to enable netif messages Michael Weiser
2016-08-02 19:31 ` [PATCH 4/5] net: ethernet: sun4i-emac: Read rxhdr in CPU byte-order Michael Weiser
2016-08-02 19:31 ` [PATCH 5/5] ARM: sunxi: enable big-endian Michael Weiser
2016-08-22 7:57 ` Maxime Ripard [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-08-22 16:42 [PATCH 0/5 v4] Fixes for running a big-endian kernel on Cubieboard2 Michael Weiser
2016-08-22 16:42 ` [PATCH 5/5] ARM: sunxi: enable big-endian Michael Weiser
2016-08-22 17:31 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160822075741.GC7104@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).