commit | 190f1d2d6aeaec18d6b45b30ffd23b6f62aae126 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Tue Aug 19 17:54:28 2014 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Tue Sep 09 16:54:16 2014 +0200 |
tree | e113dbf2c25453e6dd7fb3ded88813d40ff92277 | |
parent | 2448291ff2cef792f3c0103dfdb5d15273b8bbd6 [diff] |
arm: vf610: lpuart: disable FIFO on initializaton UART does not use the UART FIFO, but we should also not rely that the UART FIFO is diabled by default. For instance, when loading U-Boot using the boot ROMs serial downloader protocol over UART, FIFO is enabled at U-Boot start time. This patch disables the RX and TX FIFO, sets back their thresholds and flushes them. Signed-off-by: Stefan Agner <stefan@agner.ch>