• Sandrine Bailleux's avatar
    PL011: Fix a bug in the UART FIFO polling · c6af727f
    Sandrine Bailleux authored
    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
    c6af727f
pl011_console.c 2.91 KB