On 14 November 2018 at 18:08, Ryder Lee <ryder....@mediatek.com> wrote: > > Many SoCs from MediaTek have a high-speed uart. This UART is compatible > with the ns16550 in legacy mode. It has extra registers for high-speed > mode which can reach a maximum baudrate at 921600. > > However this UART will no longer be compatible if it's in high-speed mode. > Some BootROM of MediaTek's SoCs will change the UART into high-speed mode > and the U-Boot must use this driver to initialize the UART. > > Signed-off-by: Weijie Gao <weijie....@mediatek.com> > Tested-by: Ryder Lee <ryder....@mediatek.com> > --- > Changes since v5: Add a specific driver for MTK UART > Changes since v4: None > --- > drivers/serial/Kconfig | 20 ++++ > drivers/serial/Makefile | 1 + > drivers/serial/serial_mtk.c | 268 > ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 289 insertions(+) > create mode 100644 drivers/serial/serial_mtk.c
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot