diff options
Diffstat (limited to 'nuttx/arch/arm/src/tiva/tiva_lowputc.c')
-rw-r--r-- | nuttx/arch/arm/src/tiva/tiva_lowputc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/tiva/tiva_lowputc.c b/nuttx/arch/arm/src/tiva/tiva_lowputc.c index 5c0d6eaa1..d982ff441 100644 --- a/nuttx/arch/arm/src/tiva/tiva_lowputc.c +++ b/nuttx/arch/arm/src/tiva/tiva_lowputc.c @@ -331,6 +331,11 @@ void up_lowsetup(void) /* Enable the selected console device */ #if defined(HAVE_SERIAL_CONSOLE) && !defined(CONFIG_SUPPRESS_UART_CONFIG) + /* REVISIT: There is some missing logic. We really should wait to be + * certain that the selected serial console UART is ready before writing + * to the UART registers. + */ + /* Disable the UART by clearing the UARTEN bit in the UART CTL register */ ctl = getreg32(TIVA_CONSOLE_BASE+TIVA_UART_CTL_OFFSET); |