]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e77ae0399d09b72e31de0feb86c3cbc05e8c8d7
tree7d90e155b70e0c3eb1a3269a20d12acb0151071a
parent2e0fdc90e2e897d35bdcd9f3eedbbbee677da393
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