summaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_stm32.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-05-10 16:01:48 -0400
committerTom Rini <trini@konsulko.com>2015-05-10 16:01:48 -0400
commit698a12bef9e782dcd99c555a739c16eec8669f14 (patch)
tree4b23d6fef6bad3f68b5cda6fc3a3d2c8ff7461e7 /drivers/serial/serial_stm32.c
parent1a60650c732bd5f717682054a100d4682ab9e626 (diff)
downloadu-boot-698a12bef9e782dcd99c555a739c16eec8669f14.tar.gz
u-boot-698a12bef9e782dcd99c555a739c16eec8669f14.tar.xz
u-boot-698a12bef9e782dcd99c555a739c16eec8669f14.zip
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 <trini@konsulko.com>
Diffstat (limited to 'drivers/serial/serial_stm32.c')
-rw-r--r--drivers/serial/serial_stm32.c3
1 files changed, 0 insertions, 3 deletions
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);