serial: of_serial: Support big-endian register accesses
authorKevin Cernekee <[email protected]>
Thu, 9 Apr 2015 20:05:18 +0000 (13:05 -0700)
committerRob Herring <[email protected]>
Wed, 15 Apr 2015 00:35:45 +0000 (19:35 -0500)
commitebc5e20082160df384dedbe1c95066c3e545b689
tree3d81fb76b1fde7b1d0764e2caa149ab933b66c2a
parentc627f2ceb692e8a9358b64ac2d139314e7bb0d17
serial: of_serial: Support big-endian register accesses

If the device node has a "big-endian" property and 32-bit registers, tell
the serial driver to use UPIO_MEM32BE instead of UPIO_MEM32.

Signed-off-by: Kevin Cernekee <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
drivers/tty/serial/of_serial.c