From 40ab42ddca705bc0fedce6a933ef3b4787863445 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 2 May 2012 20:04:42 +0000 Subject: EmbeddedPkg/SerialDxe: Do not block UART when no data is available on the port Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13255 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ArmPlatformPkg/Library/PL011SerialPortLib') diff --git a/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c b/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c index e3d8aabbc7..2395ffd6c8 100644 --- a/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c +++ b/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c @@ -14,7 +14,7 @@ **/ -#include +#include #include #include @@ -40,7 +40,6 @@ SerialPortInitialize ( (UINTN)PcdGet64 (PcdSerialRegisterBase), (UINTN)PcdGet64 (PcdUartDefaultBaudRate), 0, // Use the default value for Fifo depth - 0, // Use the default value for Timeout, (EFI_PARITY_TYPE)PcdGet8 (PcdUartDefaultParity), PcdGet8 (PcdUartDefaultDataBits), (EFI_STOP_BITS_TYPE) PcdGet8 (PcdUartDefaultStopBits)); -- cgit v1.2.3