From d5ade1b2ed426ae2a7bd0d69ab462f76faa25c66 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 29 Oct 2012 15:07:56 -0700 Subject: Clean up UART module And change some direct uart_printf()/uart_puts() output to console output methods instead. Disable unused comxtest debug command. No other functional changes. BUG=chrome-os-partner:15579 BRANCH=none TEST=boot system; should still see debug output with reset flags Change-Id: I57fe6bb781a1ba7884afa6d090b74a92f45a53cc Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/36835 --- chip/stm32/uart.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chip/stm32') diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c index 77e0ba2668..2cd661d9e4 100644 --- a/chip/stm32/uart.c +++ b/chip/stm32/uart.c @@ -112,7 +112,7 @@ static void uart_interrupt(void) } DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 2); -int uart_init(void) +void uart_init(void) { /* Enable USART clock */ if (UARTN == 1) @@ -146,6 +146,4 @@ int uart_init(void) task_enable_irq(STM32_IRQ_USART(UARTN)); init_done = 1; - - return EC_SUCCESS; } -- cgit v1.2.1