diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-07-07 22:32:34 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-09 10:58:14 -0700 |
commit | 46bc2721c521bf84c654172addbef939de33b3d1 (patch) | |
tree | bbae6c1628afbbdaa8926f870d3002aefcd9ca99 /chip/stm32/uart.c | |
parent | f8a4b6bf5135bc608916c7d28c2577112fdb94b9 (diff) | |
download | chrome-ec-46bc2721c521bf84c654172addbef939de33b3d1.tar.gz |
Remove unused UART defines
No longer needed since the rewrite of the panic handler in C.
BUG=none
TEST=link and snow still compile
Change-Id: Ib790004ae4d0ba11f0800e85e14ea372a53025f8
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/26890
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/stm32/uart.c')
-rw-r--r-- | chip/stm32/uart.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c index 82460888c9..176e0afcf3 100644 --- a/chip/stm32/uart.c +++ b/chip/stm32/uart.c @@ -111,12 +111,6 @@ DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 1); int uart_init(void) { - /* - * Check that the UART parameters used for panic/watchdog are matching - * the console USART parameters. - */ - BUILD_ASSERT(STM32_USART_BASE(UARTN) == CONFIG_UART_ADDRESS); - /* Enable USART clock */ if (UARTN == 1) STM32_RCC_APB2ENR |= 1 << 14; /* USART1 */ |