]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: uartlite: Support uartlite on big and little endian systems
authorMichal Simek <michal.simek@xilinx.com>
Mon, 11 Feb 2013 18:04:34 +0000 (19:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Feb 2013 16:38:45 +0000 (08:38 -0800)
commitbf4baca8e92a24d3cebda5a36d3cf7d5a61db6ba
tree66936c3b7c8145e6c48bc768afa3efa898345b41
parent92edc179861625c0b0fca4523beac919bb4155f4
tty: serial: uartlite: Support uartlite on big and little endian systems

Use big and little endian accessors function to reflect system configuration.
Detection is done via control register in ulite_request_port.

Tested on Microblaze LE, BE, PPC440 and Arm zynq.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c