OSDN Git Service

serial: bfin_uart: Adapt bf5xx serial driver to bf60x serial4 controller.
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 16 May 2012 06:22:23 +0000 (14:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 May 2012 20:25:55 +0000 (13:25 -0700)
commitb06d2f20cdf57841b309d30d895b1fd502655e48
treedd86c8d2ef8e1d97403988f9dc2d1d4bbd3e7f50
parent55e4b8b416849753bd7eacd1f2ac3947fcf1c78e
serial: bfin_uart: Adapt bf5xx serial driver to bf60x serial4 controller.

The serial4 controller on bf60x is an enhanced version of serial controller
on bf5xx. MMR size is 32 bits other than 16 bits. MMR GCTL, MCR and LCR are
combined into one control MMR. MSR and LSR are combined into one status MMR.

This patch adapts current bf5xx serial driver to serial4 controller on bf60x.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bfin_uart.c