diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2017-06-13 10:55:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-29 17:12:33 +0200 |
commit | f98e1fcd96f95ba20648c122811869a172a36107 (patch) | |
tree | 5c547df5f65ecb97bd0c9b16fadcd69ecda1d296 /drivers/tty/nozomi.c | |
parent | a0204f25e15cb5b7a14ffcb0d2f45bfc37939206 (diff) | |
download | linux-f98e1fcd96f95ba20648c122811869a172a36107.tar.gz linux-f98e1fcd96f95ba20648c122811869a172a36107.tar.bz2 linux-f98e1fcd96f95ba20648c122811869a172a36107.zip |
tty: serial: lpuart: add little endian 32 bit register support
Use standard port->iotype to distinguish endian difference. Note as we
read/write register by checking iotype dynamically, we need to initialize
the iotype correctly for earlycon as well to avoid a break.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com> (supporter:TTY LAYER)
Cc: Stefan Agner <stefan@agner.ch>
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Cc: Fugang Duan <fugang.duan@nxp.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
ChangeLog:
v3->v4:
* Removed unneeded semicolon catched by 0day Robot.
v2->v3:
* Instead of using global var, use standard port->iotype to distinguish
endian difference.
v1->v2:
* No changes
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/nozomi.c')
0 files changed, 0 insertions, 0 deletions