summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-08-29 20:03:39 +0200
committerFlorian Fainelli <f.fainelli@gmail.com>2017-09-25 20:56:04 +0200
commitc14963521502b237a6817aceda6f3379296db75c (patch)
tree0f0be2a8ce40c9eff76a7226af8ab160b4ca87ef /arch/arm/mach-bcm
parentMerge tag 'bcm2835-soc-next-2017-08-24' into soc/next (diff)
downloadlinux-c14963521502b237a6817aceda6f3379296db75c.tar.xz
linux-c14963521502b237a6817aceda6f3379296db75c.zip
ARM: brcmstb: Add appropriate ARM_BE8() macros for swapping
Building a big-endian kernel for ARCH_BRCMSTB revealed that we would not be correctly polling for the right bit in the busyuart macro, turns out there are a few transformations needed to work with big-endian kernels. First we need to swap the value we read from SUN_TOP_CTRL to properly compare it against our local tables. Then, just like 8250.S we need to swap the value before storing it, and conversely swap it after a load. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/mach-bcm')
0 files changed, 0 insertions, 0 deletions