summaryrefslogtreecommitdiff
path: root/CorebootModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'CorebootModulePkg')
-rw-r--r--CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c b/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
index 45056363c3..ca6db2306a 100644
--- a/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
+++ b/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
@@ -554,9 +554,10 @@ SerialPortInitialize (
SerialPortWriteRegister (SerialRegisterBase, R_UART_FCR, (UINT8)(PcdGet8 (PcdSerialFifoControl) & (B_UART_FCR_FIFOE | B_UART_FCR_FIFO64)));
//
- // Put Modem Control Register(MCR) into its reset state of 0x00.
+ // Set RTS and DTR in Modem Control Register(MCR)
//
- SerialPortWriteRegister (SerialRegisterBase, R_UART_MCR, 0x00);
+ SerialPortWriteRegister (SerialRegisterBase, R_UART_MCR,
+ EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY);
return RETURN_SUCCESS;
}