mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
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 85e5f5b7a7
.
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
1a60650c73
commit
698a12bef9
1 changed files with 0 additions and 3 deletions
|
@ -128,9 +128,6 @@ static void stm32_serial_putc(const char c)
|
||||||
struct stm32_serial *usart =
|
struct stm32_serial *usart =
|
||||||
(struct stm32_serial *)usart_base[USART_PORT];
|
(struct stm32_serial *)usart_base[USART_PORT];
|
||||||
|
|
||||||
if (c == '\n')
|
|
||||||
stm32_serial_putc('\r');
|
|
||||||
|
|
||||||
while ((readl(&usart->sr) & USART_SR_FLAG_TXE) == 0)
|
while ((readl(&usart->sr) & USART_SR_FLAG_TXE) == 0)
|
||||||
;
|
;
|
||||||
writel(c, &usart->dr);
|
writel(c, &usart->dr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue