|
@@ -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);
|