mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 05:34:30 +08:00
Blackfin: recurse with early serial initcode
Make sure we recurse through serial_putc() rather than bang on the UART transmit register directly to avoid hardware overflows when using \n. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
6b8edfde22
commit
af2c37378f
@ -92,7 +92,7 @@ static inline void serial_putc(char c)
|
||||
return;
|
||||
|
||||
if (c == '\n')
|
||||
*pUART_THR = '\r';
|
||||
serial_putc('\r');
|
||||
|
||||
*pUART_THR = c;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user