ARM: mvebu: support running big-endian
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 1 Feb 2013 10:36:22 +0000 (10:36 +0000)
committerVictor Kamensky <victor.kamensky@linaro.org>
Thu, 13 Mar 2014 21:48:26 +0000 (14:48 -0700)
commit197a3541d781995a80ea3d2f167d8d97d0cbdc9b
tree96aa5e4a0caea8b5515657edec4e86c9ebaf46ab
parentcfccea19fe8983134b45ea0a495a4adabc4973b8
ARM: mvebu: support running big-endian

Add indication we can run these cores in BE mode, and ensure that the
secondary CPU is set to big-endian mode in the initialisation code as
the initial code runs little-endian.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
(cherry picked from commit bca028e7c2537fea9f401c20dd7b2103358b5efe)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Conflicts:
arch/arm/mach-mvebu/headsmp.S
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/coherency_ll.S
arch/arm/mach-mvebu/headsmp.S