ARM: SAMSUNG: Fixup endian issues in CPU detection
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 21 Jun 2016 10:20:23 +0000 (11:20 +0100)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 21 Jun 2016 11:08:14 +0000 (13:08 +0200)
commitf4c24f36c3e457cb727f9f548f146d805739e8e0
tree6eae2bd2bed51b3be79048adda50eb802980359a
parent4fdfa8623d0a3aca30da57980b14d1686c48c2d5
ARM: SAMSUNG: Fixup endian issues in CPU detection

If the system is built for big endian, then the CPU identificaiton register
will be read in the wrong order. Fix this by using readl_relaxed() on the
register.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/plat-samsung/cpu.c