From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.9728.1604477150701455063 for ; Wed, 04 Nov 2020 00:05:50 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: heng.luo@intel.com) IronPort-SDR: xP/WIAakmnffs4lcMvw1CJNKxbcFGDOrcchMOU8o51ezdrEvZeHenwKQPwGvgnNB6GKDCZKi+V +FPywD8muydQ== X-IronPort-AV: E=McAfee;i="6000,8403,9794"; a="156171019" X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="156171019" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2020 00:05:50 -0800 IronPort-SDR: jDTGue0g58kzimVxRJU1xa25JqOSWukuPH/elG9U7Z5w+Wr6lJZNgBmQ79L69vacCjUGf+697K b5slAcGbRY6Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="336790042" Received: from hengluo-dev.ccr.corp.intel.com ([10.239.153.154]) by orsmga002.jf.intel.com with ESMTP; 04 Nov 2020 00:05:48 -0800 From: "Heng Luo" To: devel@edk2.groups.io Cc: Eric Dong , Chasel Chiu , Nate DeSimone Subject: [Patch V4] MinPlatformPkg: console redirect after the shell is loaded Date: Wed, 4 Nov 2020 16:05:44 +0800 Message-Id: <20201104080544.515-1-heng.luo@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3014 Use SerialPortTerminalLib to get console redirect after the shell is loaded: 1. Add SerialPortTerminalLib to MinPlatformPkg/Library, add PCDs to configure serial port. 2. Add SerialPortTerminalLib to BdsDxe driver, to add the serial device to ConIn and ConOut variables 3. Include SerialDxe and TerminalDxe to CoreDxeInclude.dsc and CoreUefiBootInclude.fdf. 4. Use PcdSerialTerminalEnable to enable/disable this feature. 5. Enable feature for UpXtreme, and disable it for other platform by defaul= t. Cc: Eric Dong Cc: Chasel Chiu Cc: Nate DeSimone Signed-off-by: Heng Luo --- Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkgPcd.dsc = | 1 + Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkgPcd.dsc = | 1 + Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.dsc = | 1 + Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc = | 15 +++++++++++++-- Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf = | 8 +++++++- Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/SerialPortTerm= inalLib.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++ Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/SerialPortTerm= inalLib.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/SerialPortTerm= inalLib.inf | 40 ++++++++++++++++++++++++++++++++++++++++ Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec = | 25 +++++++++++++++++++++++++ Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc = | 3 ++- Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkgPcd.dsc = | 1 + Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc = | 1 + Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkgPcd.dsc= | 1 + 13 files changed, 243 insertions(+), 4 deletions(-) diff --git a/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPk= gPcd.dsc b/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkgP= cd.dsc index d611e99fc1..589b002d06 100644 --- a/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkgPcd.dsc @@ -131,6 +131,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|FALSE=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1=0D gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE=0D diff --git a/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkgPcd= .dsc b/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkgPcd.dsc index 352416a489..44dacdf082 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkgPcd.dsc @@ -130,6 +130,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|FALSE=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1=0D gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE=0D diff --git a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgP= cd.dsc b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.d= sc index 9e8b148753..725596cbf7 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.dsc @@ -168,6 +168,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|FALSE=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1=0D gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE=0D diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc b= /Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc index f0e578f8cc..2a4a574cdf 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc @@ -1,7 +1,7 @@ ## @file=0D # Platform description.=0D #=0D -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -46,7 +46,18 @@ =0D MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntim= eDxe.inf=0D =0D - MdeModulePkg/Universal/BdsDxe/BdsDxe.inf=0D + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{=0D + =0D +!if gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable =3D=3D TRUE=0D + NULL|SerialTerminalFeaturePkg/Library/SerialPortTerminalLib/SerialPo= rtTerminalLib.inf=0D +!endif=0D + }=0D +=0D +!if gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable =3D=3D TRUE=0D + MdeModulePkg/Universal/SerialDxe/SerialDxe.inf=0D + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf=0D +!endif=0D +=0D MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf= =0D MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {=0D =0D diff --git a/Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.= fdf b/Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf index 7859c0b1a5..ef4576eedf 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf +++ b/Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf @@ -1,7 +1,7 @@ ## @file=0D # FDF file of Platform.=0D #=0D -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -26,6 +26,12 @@ INF MdeModulePkg/Universal/Variable/RuntimeDxe/Variable= RuntimeDxe.inf INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRun= timeDxe.inf=0D =0D INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf=0D +=0D +!if gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable =3D=3D TRUE=0D +INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf=0D +INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf=0D +!endif=0D +=0D INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.= inf=0D INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf=0D INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf=0D diff --git a/Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/Se= rialPortTerminalLib.c b/Platform/Intel/MinPlatformPkg/Library/SerialPortTer= minalLib/SerialPortTerminalLib.c new file mode 100644 index 0000000000..94de475173 --- /dev/null +++ b/Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/SerialPor= tTerminalLib.c @@ -0,0 +1,102 @@ +/** @file=0D + Main file for NULL named library for Serial Port Terminal Redirection li= brary.=0D +=0D + Copyright (c) 2020, Intel Corporation. All rights reserved.
=0D + SPDX-License-Identifier: BSD-2-Clause-Patent=0D +=0D +**/=0D +=0D +#include "SerialPortTerminalLib.h"=0D +=0D +GLOBAL_REMOVE_IF_UNREFERENCED SERIAL_DEVICE_PATH mSerialDevicePath =3D {=0D + {=0D + {=0D + HARDWARE_DEVICE_PATH,=0D + HW_VENDOR_DP,=0D + {=0D + (UINT8) sizeof (VENDOR_DEVICE_PATH),=0D + (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)=0D + }=0D + },=0D + EDKII_SERIAL_PORT_LIB_VENDOR_GUID=0D + },=0D + {=0D + {=0D + MESSAGING_DEVICE_PATH,=0D + MSG_UART_DP,=0D + {=0D + (UINT8) sizeof (UART_DEVICE_PATH),=0D + (UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8)=0D + }=0D + },=0D + 0, // Reserved=0D + 0, // BaudRate=0D + 0, // DataBits=0D + 0, // Parity=0D + 0 // StopBits=0D + },=0D + {=0D + {=0D + MESSAGING_DEVICE_PATH,=0D + MSG_VENDOR_DP,=0D + {=0D + (UINT8) (sizeof (VENDOR_DEVICE_PATH)),=0D + (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),=0D + }=0D + },=0D + DEVICE_PATH_MESSAGING_PC_ANSI=0D + },=0D + gEndEntire=0D +};=0D +=0D +/**=0D + Updates the ConOut, ConIn, ErrOut variables with the serial terminal dev= ice path=0D + @param none=0D + @retval none=0D +**/=0D +VOID=0D +AddSerialTerminal (=0D + VOID=0D + )=0D +{=0D + DEBUG ((DEBUG_INFO, "[AddSerialPortTerminal]\n"));=0D +=0D + //=0D + // Append Serial Terminal into "ConIn"=0D + //=0D + EfiBootManagerUpdateConsoleVariable (ConOut, (EFI_DEVICE_PATH_PROTOCOL *= ) &mSerialDevicePath, NULL);=0D + EfiBootManagerUpdateConsoleVariable (ConIn, (EFI_DEVICE_PATH_PROTOCOL *)= &mSerialDevicePath, NULL);=0D + EfiBootManagerUpdateConsoleVariable (ErrOut, (EFI_DEVICE_PATH_PROTOCOL *= ) &mSerialDevicePath, NULL);=0D +}=0D +=0D +=0D +/**=0D + Constructor for the Serial Port Device controller library.=0D +=0D + @param ImageHandle the image handle of the process=0D + @param SystemTable the EFI System Table pointer=0D +=0D + @retval EFI_SUCCESS the shell command handlers were installed suc= essfully=0D + @retval EFI_UNSUPPORTED the shell level required was not found.=0D +**/=0D +EFI_STATUS=0D +EFIAPI=0D +SerialPortTerminalLibConstructor (=0D + IN EFI_HANDLE ImageHandle,=0D + IN EFI_SYSTEM_TABLE *SystemTable=0D + )=0D +{=0D + mSerialDevicePath.Uart.BaudRate =3D PcdGet64(PcdSerialTerminalBaudRate);= =0D + mSerialDevicePath.Uart.DataBits =3D PcdGet8(PcdSerialTerminalDataBits);= =0D + mSerialDevicePath.Uart.Parity =3D PcdGet8(PcdSerialTerminalParity);=0D + mSerialDevicePath.Uart.StopBits =3D PcdGet8(PcdSerialTerminalStopBits);= =0D + DEBUG ((DEBUG_INFO, "[SerialPortTerminalLibConstructor] [%d, %d, %d, %d]= \n",=0D + mSerialDevicePath.Uart.BaudRate,=0D + mSerialDevicePath.Uart.DataBits,=0D + mSerialDevicePath.Uart.Parity,=0D + mSerialDevicePath.Uart.StopBits));=0D +=0D + AddSerialTerminal();=0D +=0D + return EFI_SUCCESS;=0D +}=0D diff --git a/Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/Se= rialPortTerminalLib.h b/Platform/Intel/MinPlatformPkg/Library/SerialPortTer= minalLib/SerialPortTerminalLib.h new file mode 100644 index 0000000000..0a2eaae8b8 --- /dev/null +++ b/Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/SerialPor= tTerminalLib.h @@ -0,0 +1,48 @@ +/** @file=0D + Header file for NULL named library for for Serial Port Terminal Redirect= ion library.=0D +=0D + Copyright (c) 2020, Intel Corporation. All rights reserved.
=0D + SPDX-License-Identifier: BSD-2-Clause-Patent=0D +=0D +**/=0D +=0D +#ifndef _SERIAL_PORT_TERMINAL_LIB_H_=0D +#define _SERIAL_PORT_TERMINAL_LIB_H_=0D +=0D +#include =0D +#include =0D +#include =0D +#include =0D +#include =0D +#include =0D +=0D +//=0D +// Below is the platform console device path=0D +//=0D +typedef struct {=0D + VENDOR_DEVICE_PATH Guid;=0D + UART_DEVICE_PATH Uart;=0D + VENDOR_DEVICE_PATH TerminalType;=0D + EFI_DEVICE_PATH_PROTOCOL End;=0D +} SERIAL_DEVICE_PATH;=0D +=0D +#define gPciRootBridge \=0D + { \=0D + { \=0D + ACPI_DEVICE_PATH, \=0D + ACPI_DP, \=0D + { \=0D + (UINT8) (sizeof (ACPI_HID_DEVICE_PATH)), \=0D + (UINT8) ((sizeof (ACPI_HID_DEVICE_PATH)) >> 8) \=0D + }, \=0D + }, \=0D + EISA_PNP_ID (0x0A03), \=0D + 0 \=0D + }=0D +=0D +#define gEndEntire \=0D + { \=0D + END_DEVICE_PATH_TYPE, END_ENTIRE_DEVICE_PATH_SUBTYPE, { END_DEVICE_PAT= H_LENGTH, 0 } \=0D + }=0D +=0D +#endif=0D diff --git a/Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/Se= rialPortTerminalLib.inf b/Platform/Intel/MinPlatformPkg/Library/SerialPortT= erminalLib/SerialPortTerminalLib.inf new file mode 100644 index 0000000000..b0a9326b1b --- /dev/null +++ b/Platform/Intel/MinPlatformPkg/Library/SerialPortTerminalLib/SerialPor= tTerminalLib.inf @@ -0,0 +1,40 @@ +## @file=0D +# Component information file for Serial Port Terminal Redirection Library= =0D +#=0D +# INTEL CONFIDENTIAL=0D +# Copyright (c) 2020, Intel Corporation. All rights reserved.
=0D +#=0D +# SPDX-License-Identifier: BSD-2-Clause-Patent=0D +#=0D +##=0D +[Defines]=0D + INF_VERSION =3D 0x00010006=0D + BASE_NAME =3D SerialPortTerminalLib=0D + FILE_GUID =3D E12BFA46-95F2-4ADC-9774-7E38DE78741E= =0D + MODULE_TYPE =3D UEFI_DRIVER=0D + VERSION_STRING =3D 1.2=0D + LIBRARY_CLASS =3D NULL|UEFI_DRIVER DXE_DRIVER DXE_RUNTI= ME_DRIVER=0D + CONSTRUCTOR =3D SerialPortTerminalLibConstructor=0D +=0D +[Packages]=0D + MdePkg/MdePkg.dec=0D + MdeModulePkg/MdeModulePkg.dec=0D + BoardModulePkg/BoardModulePkg.dec=0D + MinPlatformPkg/MinPlatformPkg.dec=0D +=0D +[Sources]=0D + SerialPortTerminalLib.c=0D + SerialPortTerminalLib.h=0D +=0D +[LibraryClasses]=0D + DevicePathLib=0D + DebugLib=0D + UefiDriverEntryPoint=0D + UefiBootManagerLib=0D + UefiLib=0D +=0D +[Pcd]=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalBaudRate=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalDataBits=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalParity=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalStopBits \ No newline at end of file diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dec index 7ef189dac8..36050aa1a8 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec @@ -205,6 +205,30 @@ [PcdsDynamic, PcdsDynamicEx]=0D gMinPlatformPkgTokenSpaceGuid.PcdPcIoApicEnable|0x0|UINT32|0x90000019=0D =0D + # The baud rate setting for the UART style device. A value of 0=0D + # means that the device's default baud rate will be used.=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalBaudRate|115200|UINT64|0x= 9000001A=0D +=0D + # The number of data bits for the UART style device. A value=0D + # of 0 means that the device's default number of data bits will be used.= =0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalDataBits|0x8|UINT8|0x9000= 001B=0D +=0D + # The parity setting for the UART style device.=0D + # Parity 0x00 - Default Parity.=0D + # Parity 0x01 - No Parity.=0D + # Parity 0x02 - Even Parity.=0D + # Parity 0x03 - Odd Parity.=0D + # Parity 0x04 - Mark Parity.=0D + # Parity 0x05 - Space Parity.=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalParity|0x1|UINT8|0x900000= 1C=0D +=0D + # The number of stop bits for the UART style device.=0D + # Stop Bits 0x00 - Default Stop Bits.=0D + # Stop Bits 0x01 - 1 Stop Bit.=0D + # Stop Bits 0x02 - 1.5 Stop Bits.=0D + # Stop Bits 0x03 - 2 Stop Bits.=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalStopBits|0x1|UINT8|0x9000= 001D=0D +=0D [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]=0D =0D ##=0D @@ -318,3 +342,4 @@ gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable |FALSE|BOOLEAN|0= xF00000A5=0D gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable|FALSE|BOOLEAN|0= xF00000A6=0D gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable |FALSE|BOOLEAN|0= xF00000A7=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable |FALSE|BOOLEAN|0= xF00000B0=0D diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dsc index 112ddff7d9..d0b5593817 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc @@ -1,7 +1,7 @@ ## @file=0D # Platform description.=0D #=0D -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -44,6 +44,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|FALSE=0D =0D ##########################################################################= ######=0D #=0D diff --git a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkgPc= d.dsc b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkgPcd.dsc index 52cdf9ec0f..251f46f812 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkgPcd.dsc @@ -50,6 +50,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|FALSE=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1=0D gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE=0D diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPc= d.dsc b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc index d797ae9d94..e161bf06f4 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc @@ -127,6 +127,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|TRUE=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1=0D gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE=0D diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoa= rdPkgPcd.dsc b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenB= oardPkgPcd.dsc index 5d769e8153..83ada3c95c 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkgPc= d.dsc +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkgPc= d.dsc @@ -127,6 +127,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE=0D gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE=0D + gMinPlatformPkgTokenSpaceGuid.PcdSerialTerminalEnable|FALSE=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1=0D gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE=0D --=20 2.24.0.windows.2