summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/BaseSerialPortLib16550
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2011-03-16 02:58:51 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2011-03-16 02:58:51 +0000
commitacaa2726fbaa32a1adfa57caf8679eae316a8750 (patch)
treec69a20dea647e2317152c24616a567f9a7677636 /MdeModulePkg/Library/BaseSerialPortLib16550
parent831ff057d7bbb269cbdf9ab77079492a11ca0aa0 (diff)
downloadedk2-acaa2726fbaa32a1adfa57caf8679eae316a8750.tar.gz
edk2-acaa2726fbaa32a1adfa57caf8679eae316a8750.tar.bz2
edk2-acaa2726fbaa32a1adfa57caf8679eae316a8750.zip
Add description for 64-byte FIFO enable bit for PcdSerialFifoControl.
Update SerialPortInitializer() to properly preserve BIT5 in FCR instead of BIT4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11404 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/BaseSerialPortLib16550')
-rw-r--r--MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c b/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
index a6c990dee6..2238749215 100644
--- a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
+++ b/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
@@ -158,7 +158,7 @@ SerialPortInitialize (
// Enable and reset FIFOs
// Strip reserved bits from PcdSerialFifoControl
//
- SerialPortWriteRegister (R_UART_FCR, (UINT8)(PcdGet8 (PcdSerialFifoControl) & 0x17));
+ SerialPortWriteRegister (R_UART_FCR, (UINT8)(PcdGet8 (PcdSerialFifoControl) & 0x27));
//
// Put Modem Control Register(MCR) into its reset state of 0x00.