ARM: hardware: fix endian-ness in <hardware/coresight.h>
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 24 Jul 2013 15:09:57 +0000 (16:09 +0100)
committerVictor Kamensky <victor.kamensky@linaro.org>
Thu, 13 Mar 2014 21:48:36 +0000 (14:48 -0700)
commitfb2feb1831b02408515b00de10b6824fb758d88f
tree126e79659bf79ba13f0789b2c571fbebd73e3ebb
parentf948a286a732c65e1b21588ebdd429aee1b79492
ARM: hardware: fix endian-ness in <hardware/coresight.h>

The <hardware/coresight.h> needs to take into account the endian-ness
of the processor when reading and writing data, so change to using
the readl/writel relaxed variants from the raw ones.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
(cherry picked from commit bfdef3b32d2f36bf137c039de9a545cdfcfbafe2)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
arch/arm/include/asm/hardware/coresight.h