PL011: Fix a bug in the UART FIFO polling
Before attempting to write a character, the PL011 driver polls
the PL011_UARTFR_TXFF bit to know whether the UART FIFO is full.
However, the comparison with 1 was incorrect because
PL011_UARTFR_TXFF is not at bit 0. This patch fixes it.

Change-Id: I4b53c28612f58581c6189ed6c794ed02cc2a89e3
1 parent de11694 commit c6af727f3c974f7f656003aed6a9ac8d483b46c8
@Sandrine Bailleux Sandrine Bailleux authored on 2 Jun 2014
Showing 1 changed file