From: Tom Rini Date: Sun, 10 May 2015 20:01:48 +0000 (-0400) Subject: Revert "stm32f4: fix serial output" X-Git-Tag: KARO-TX6-2015-09-18~2128 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=42a41bf58df32f175232b2828d772f71f0ca922b Revert "stm32f4: fix serial output" As per the author, we don't need this patch really since the other patch "stm32f4: fix serial output" superseded it. This reverts commit 85e5f5b7a7f8d889271f94791606cde62d81d53f. Signed-off-by: Tom Rini --- diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index 8b2830b946..1b22c692d2 100644 --- a/drivers/serial/serial_stm32.c +++ b/drivers/serial/serial_stm32.c @@ -128,9 +128,6 @@ static void stm32_serial_putc(const char c) struct stm32_serial *usart = (struct stm32_serial *)usart_base[USART_PORT]; - if (c == '\n') - stm32_serial_putc('\r'); - while ((readl(&usart->sr) & USART_SR_FLAG_TXE) == 0) ; writel(c, &usart->dr);