summaryrefslogtreecommitdiff
path: root/chip/stm32/uart.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-07-23 18:13:15 -0700
committerChromeBot <chrome-bot@google.com>2013-07-24 16:31:14 -0700
commite6f0c272a02d03a15f826b8c7282d0084c125b6b (patch)
tree35e57a253ef0dbd1692c06f57a3cdf9ed092d476 /chip/stm32/uart.c
parentb13a2aed146c7e54c21fe5d84f0a3ff1989a612b (diff)
downloadchrome-ec-e6f0c272a02d03a15f826b8c7282d0084c125b6b.tar.gz
Clean up and document UART config options
No functional changes, just renaming config options. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms Change-Id: I91584cb1f8990dd0f980abd32c04465a66243e71 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63244
Diffstat (limited to 'chip/stm32/uart.c')
-rw-r--r--chip/stm32/uart.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c
index cade7542f8..77b5d93623 100644
--- a/chip/stm32/uart.c
+++ b/chip/stm32/uart.c
@@ -13,13 +13,8 @@
#include "uart.h"
#include "util.h"
-/* Baud rate for UARTs */
-#ifndef CONFIG_UART_BAUD_RATE
-#define CONFIG_UART_BAUD_RATE 115200
-#endif
-
/* Console USART index */
-#define UARTN CONFIG_CONSOLE_UART
+#define UARTN CONFIG_UART_CONSOLE
static int init_done; /* Initialization done? */
static int should_stop; /* Last TX control action */