Commit 698a12be authored by Tom Rini's avatar Tom Rini
Browse files

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 85e5f5b7

Signed-off-by: default avatarTom Rini <>
parent 1a60650c
......@@ -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')
while ((readl(&usart->sr) & USART_SR_FLAG_TXE) == 0)
writel(c, &usart->dr);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment