snowball: Clear UART RX FIFO
authorRamesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
Mon, 10 Sep 2012 20:28:27 +0000 (20:28 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 4 Oct 2012 14:59:13 +0000 (16:59 +0200)
commit1acc5559d9c3f45b4243474fe61ec3cab8d23f7a
treeebeb304fa60ddf02ae816e763d3fab2c462ba71a
parentf22651cfc422a51253f2d475343373f82cf7f929
snowball: Clear UART RX FIFO

Without usb-serial cable plugged at this stage, some
garbage is seen in UART RX FIFO, which blocks autoboot
progress. The fix makes sure to empty the RX FIFO,
before we wait for user input to interrupt autoboot.

Signed-off-by: Ramesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
board/st-ericsson/snowball/snowball.c