[U-Boot] [RFC PATCH] serial: omap: Support debug UART
Simon Glass
sjg at chromium.org
Sat Apr 29 00:26:47 UTC 2017
On 22 April 2017 at 04:27, Lokesh Vutla <lokeshvutla at 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 <lokeshvutla at 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 <sjg at chromium.org>
More information about the U-Boot
mailing list