serial: serial_mtk: add non-DM version for SPL
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:18 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:43 +0000 (17:20 +0200)
commit44fa676e58e90ad9283995b544f8e1013524161f
treee1a2550e4b878f85f29a98154dbd0784f82d8eef
parent99ced5331baf1254232e3f73e113fb7ecedebad2
serial: serial_mtk: add non-DM version for SPL

This patch adds non-DM version for mtk hsuart driver and makes it
compatible with ns16550a driver in configuration.
This is needed in SPL with CONFIG_SPL_DM disabled for reducing size.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/serial/serial.c
drivers/serial/serial_mtk.c