serial: 8250_dw: Add support for big-endian MMIO accesses
authorNoam Camus <noamc@ezchip.com>
Sat, 12 Dec 2015 17:18:26 +0000 (19:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:28:23 +0000 (22:28 -0800)
commit4625090187768bc776d69dfaa6a1f79b1125debe
tree9f2ac0fef6fb8b2bc52269e124808aa74e52f8ca
parentcdcea058e51008479545f29201b4fa577c59733c
serial: 8250_dw: Add support for big-endian MMIO accesses

Add support for UPIO_MEM32BE in addition to UPIO_MEM32.

For big endian we use 2 new accessors similar to little endian,
called dw8250_serial_out32be() and dw8250_serial_in32be().

Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c