projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
snowball: Clear UART RX FIFO
[kernel/u-boot.git]
/
board
/
st-ericsson
/
snowball
/
snowball.c
diff --git
a/board/st-ericsson/snowball/snowball.c
b/board/st-ericsson/snowball/snowball.c
index
8c743c0
..
e750df1
100644
(file)
--- a/
board/st-ericsson/snowball/snowball.c
+++ b/
board/st-ericsson/snowball/snowball.c
@@
-253,6
+253,10
@@
int board_late_init(void)
if ((raise_ab8500_gpio16() < 0))
printf("error: cant' raise GPIO16\n");
+ /* empty UART RX FIFO */
+ while (tstc())
+ (void) getc();
+
return 0;
}