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: If78892345bbdc8a5e4ae4a1b7159753c609681b0
1 parent 977fbcd commit d831af90a3788c705bfdd49c9f9548b34a647f80
@Sandrine Bailleux Sandrine Bailleux authored on 2 Jun 2014
Showing 1 changed file
View
drivers/arm/pl011/pl011_console.c