On 22 April 2017 at 04:27, Lokesh Vutla <lokeshvu...@ti.com> wrote: > Add debug UART functions to permit omap specific ns16550 to > provide an early debug UART. This is mostly in common with > DEBUG_UART_NS16550 except for Mode definition register which > is required for selecting UART mode(16x auto-baud or 13x mode). > > Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com> > --- > - I understand it is duplication of code, but I guess the idea > is not to use NS16550_init() as it has lot of ifdefs. Please > advice if this can be improved. > > drivers/serial/Kconfig | 7 +++++++ > drivers/serial/ns16550.c | 47 ++++++++++++++++++++++++++++++++++++----------- > include/debug_uart.h | 11 +++++++++++ > 3 files changed, 54 insertions(+), 11 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot