drivers: uart_ns16550: remove soc specific codes and bug fixes

* remove soc specific codes
* optimize the caculation of baudrate.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
This commit is contained in:
Wayne Ren 2019-01-29 14:25:56 +08:00 committed by Anas Nashif
commit 1e392fbd0a
3 changed files with 17 additions and 13 deletions

View file

@ -23,6 +23,7 @@
* UART: use lr and sr to access subsystem uart IP
*/
#define UART_NS16550_ACCESS_IOPORT
#define UART_REG_ADDR_INTERVAL 4
/* ARC EM Core IRQs */