]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/serial/serial_stm32.c
Revert "stm32f4: fix serial output"
[karo-tx-uboot.git] / drivers / serial / serial_stm32.c
index 8b2830b946a83b9bf3675c4fef03d2c8fc815882..1b22c692d2ca3e1268bee7e9be5c5f122a5a20bd 100644 (file)
@@ -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);