summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-02 06:07:56 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-02 06:07:56 -0600
commit5b04fbb70e0d4b34d98a43ad0545fe40f4b67a2f (patch)
tree445a3ee9b39d258adff8e65c274604d7d3561be7
parent7a231c727bbb121225c0f5e5e9a27ca21941aa9e (diff)
downloadnuttx-5b04fbb70e0d4b34d98a43ad0545fe40f4b67a2f.tar.gz
nuttx-5b04fbb70e0d4b34d98a43ad0545fe40f4b67a2f.tar.bz2
nuttx-5b04fbb70e0d4b34d98a43ad0545fe40f4b67a2f.zip
Cosmetic update to some comments
-rw-r--r--nuttx/arch/arm/src/tiva/chip/tiva_flash.h2
-rw-r--r--nuttx/arch/arm/src/tiva/tiva_lowputc.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/tiva/chip/tiva_flash.h b/nuttx/arch/arm/src/tiva/chip/tiva_flash.h
index 47b460007..42c688075 100644
--- a/nuttx/arch/arm/src/tiva/chip/tiva_flash.h
+++ b/nuttx/arch/arm/src/tiva/chip/tiva_flash.h
@@ -47,7 +47,7 @@
#if defined(CONFIG_ARCH_CHIP_TM4C129)
# include "chip/tm4c_flash.h"
-/* Others (including TM4C123) are similar to the LM3S family */
+/* Others (including LM4F and TM4C123) are similar to the LM3S family */
#else
# include "chip/lm3s_flash.h"
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);