commit | 89e69fd4a96bcab2469d3d084ba335c6b925771a | [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 | a3db78d8870c8fb5bc0b1acd73bdc998d0d34200 [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>