ARM: imx: enable big endian mode
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 27 Jan 2016 16:59:36 +0000 (17:59 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 2 Feb 2016 05:31:19 +0000 (13:31 +0800)
commit26e30c6489f4774492c168c7b953e575a16765f7
tree7d90e155b70e0c3eb1a3269a20d12acb0151071a
parentc553138fbd1ee193a19101a36fb0814607ab4e7b
ARM: imx: enable big endian mode

Enable ARM big-endian mode on mach-imx. This requires adding some
byte swapping in the debug functions (which otherwise hang forever)
and of course the secondary core bringup.

Tested (on top of 4.4) on i.MX6 HummingBoard quad-core (IMX6Q).

The patch is pretty much as suggested by Arnd Bergmann, thanks!

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/include/debug/imx.S
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/headsmp.S