
29 Apr
2017
29 Apr
'17
2:26 a.m.
On 22 April 2017 at 04:27, Lokesh Vutla lokeshvutla@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@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@chromium.org