From 4fbe63937eb2a54040de58d0726d4796412fba3d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 22 May 2014 14:47:59 +0200 Subject: [PATCH] ARM: mvebu: fix big endian booting after coherency code rework As part of the introduction of the cpuidle support for Armada XP, the coherency code was significantly reworked, especially in the coherency_ll.S file. However, when the ll_get_cpuid function was created, the big-endian specific code that switches the endianess of the register was not updated properly. This patch fixes this code, and therefore makes big endian systems bootable again. Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1400762882-10116-2-git-send-email-thomas.petazzoni@free-electrons.com Fixes: 2e8a5942f875 ("ARM: mvebu: Split low level functions to manipulate HW coherency") Reported-by: Kevin Hilman Cc: Kevin Hilman Acked-by: Gregory CLEMENT Signed-off-by: Jason Cooper --- Reading git-format-patch failed