mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-06 19:26:16 +09: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