]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/st-ericsson/snowball/snowball.c
snowball: Clear UART RX FIFO
[karo-tx-uboot.git] / board / st-ericsson / snowball / snowball.c
index 8c743c0adb0d18cbce5bcd83abaa69b59d56f004..e750df189ddd8b53d2bc62a4a44bddaf5d29128f 100644 (file)
@@ -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;
 }