ArmPlatformPkg/Drivers/PL011Uart: Fixed PL011UartWrite()
Forget to increment pointer. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13591 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -310,7 +310,7 @@ PL011UartWrite (
|
|||||||
// Wait until UART able to accept another char
|
// Wait until UART able to accept another char
|
||||||
while ((MmioRead32 (UartBase + UARTFR) & UART_TX_FULL_FLAG_MASK));
|
while ((MmioRead32 (UartBase + UARTFR) & UART_TX_FULL_FLAG_MASK));
|
||||||
|
|
||||||
MmioWrite8 (UartBase + UARTDR, *Buffer);
|
MmioWrite8 (UartBase + UARTDR, *Buffer++);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NumberOfBytes;
|
return NumberOfBytes;
|
||||||
|
Reference in New Issue
Block a user