projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b8edfd
)
Blackfin: recurse with early serial initcode
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 25 Apr 2009 03:22:48 +0000
(23:22 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 6 May 2009 12:47:16 +0000
(08:47 -0400)
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>
cpu/blackfin/initcode.c
patch
|
blob
|
history
diff --git
a/cpu/blackfin/initcode.c
b/cpu/blackfin/initcode.c
index aba00e0fb9aa87b7239ab90f3cbd573bf553544f..c0fe2c65a6c6232398ea0ce328c85d4ce2fcd7e8 100644
(file)
--- a/
cpu/blackfin/initcode.c
+++ b/
cpu/blackfin/initcode.c
@@
-92,7
+92,7
@@
static inline void serial_putc(char c)
return;
if (c == '\n')
-
*pUART_THR = '\r'
;
+
serial_putc('\r')
;
*pUART_THR = c;