From 6ba44b86f07c390f058aa6ca4d9691ed9a5041ff Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 29 Mar 2016 15:30:37 +0800 Subject: Revert "TerminalDxe: select the UART's default receive FIFO depth" This reverts commit 31ae446b1a039a55d0336f2201d77d1032533413. Changing the receive FIFO depth in Terminal driver Start() is not recommended. A new PCD PcdUartDefaultReceiveFifoDepth was added and MdeModulePkg/SerialDxe driver uses the PCD as the default receive FIFO depth. Signed-off-by: Ruiyu Ni Reviewed-by: Star Zeng Acked-by: Laszlo Ersek Tested-by: Ryan Harkin --- MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c') diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c index 5adaa9745f..6fde3b2c7a 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c @@ -806,7 +806,7 @@ TerminalDriverBindingStart ( Status = TerminalDevice->SerialIo->SetAttributes ( TerminalDevice->SerialIo, Mode->BaudRate, - 0, // the device's default FIFO depth + Mode->ReceiveFifoDepth, (UINT32) SerialInTimeOut, (EFI_PARITY_TYPE) (Mode->Parity), (UINT8) Mode->DataBits, -- cgit v1.2.3