]> Git Repo - linux.git/commit - drivers/gpio/gpio-brcmstb.c
gpio: brcmstb: Set endian flags for big-endian MIPS
authorFlorian Fainelli <[email protected]>
Wed, 6 Jan 2016 18:55:22 +0000 (10:55 -0800)
committerLinus Walleij <[email protected]>
Thu, 7 Jan 2016 15:25:09 +0000 (16:25 +0100)
commitce5a7e81390b9ae28f8dc82505afa96c1787d312
tree8c18c00d5eb62a37ccc474d4c8eb72ada410ad54
parent780c43dd61a09ce7d9cdb1e7c33d3341ec471ff0
gpio: brcmstb: Set endian flags for big-endian MIPS

Broadcom MIPS-based STB chips endianness is configured by boot strap,
which also reverses all bus endianness (i.e., big-endian CPU + big
endian bus ==> native endian I/O).

Other architectures (e.g., ARM) either do not support big endian, or
else leave I/O in little endian mode.

Signed-off-by: Florian Fainelli <[email protected]>
Acked-by: Gregory Fong <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
drivers/gpio/gpio-brcmstb.c
This page took 0.054239 seconds and 4 git commands to generate.