diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 20:04:42 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 20:04:42 +0000 |
commit | 40ab42ddca705bc0fedce6a933ef3b4787863445 (patch) | |
tree | 204d22ac95ede45e92b5924e18193235c21a6d27 /ArmPlatformPkg/Library/PL011SerialPortLib | |
parent | c54de82204db5ae68b2ad2840c8388c2fd725727 (diff) | |
download | edk2-40ab42ddca705bc0fedce6a933ef3b4787863445.zip edk2-40ab42ddca705bc0fedce6a933ef3b4787863445.tar.gz edk2-40ab42ddca705bc0fedce6a933ef3b4787863445.tar.bz2 |
EmbeddedPkg/SerialDxe: Do not block UART when no data is available on the port
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13255 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Library/PL011SerialPortLib')
-rw-r--r-- | ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c b/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c index e3d8aab..2395ffd 100644 --- a/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c +++ b/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c @@ -14,7 +14,7 @@ **/ -#include <Include/Base.h> +#include <Base.h> #include <Library/IoLib.h> #include <Library/PcdLib.h> @@ -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)); |