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>
3 files changed