From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web12.4980.1591701864127752038 for ; Tue, 09 Jun 2020 04:24:24 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: ming.tan@intel.com) IronPort-SDR: a8tp3AAQm3h9OrmdLLrqkMDwpJBcol9G7Oz4DXcV4MQPhb9VwUfghQEHFGaLxgNJaU2ckrbKXZ rFjDkkaa5N+w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2020 04:24:23 -0700 IronPort-SDR: lpWscbi0RiPuCWmI2EUHmghkCecgBooSsRnA0MfcR8fwBmnW4cba3cJJGWFuGE6ztcAzLIl9RX ZcMffU/0ju0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,491,1583222400"; d="scan'208";a="314177557" Received: from shwdejointlab96.ccr.corp.intel.com ([10.239.134.144]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jun 2020 04:24:22 -0700 From: "Tan, Ming" To: devel@edk2.groups.io Cc: Maurice Ma , Guo Dong , Benjamin You Subject: [PATCH v3 3/4] UefiPayloadPkg/UefiPayloadPkgIa*.dsc: Change some PCDs type Date: Tue, 9 Jun 2020 19:23:47 +0800 Message-Id: <20200609112353.20824-3-ming.tan@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 In-Reply-To: <20200609112353.20824-1-ming.tan@intel.com> References: <20200609112353.20824-1-ming.tan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2786 Since the type of PcdStatusCodeUseSerial and PcdStatusCodeUseMemory in MdeModulePkg.dec are changed, so change them from PcdsFeatureFlag to PcdsFixedAtBuild in dsc files. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Ming Tan --- V3: Split one patch to several patchs, each Pkg has one patch. UefiPayloadPkg/UefiPayloadPkgIa32.dsc | 16 +++++++++------- UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc b/UefiPayloadPkg/UefiPay= loadPkgIa32.dsc index d52945442e..b0708cf01f 100644 --- a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc +++ b/UefiPayloadPkg/UefiPayloadPkgIa32.dsc @@ -3,7 +3,7 @@ #=0D # Provides drivers and definitions to create uefi payload for bootloaders.= =0D #=0D -# Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D ##=0D @@ -264,12 +264,6 @@ #=0D ##########################################################################= ######=0D [PcdsFeatureFlag]=0D -!if $(TARGET) =3D=3D DEBUG=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE=0D -!else=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE=0D -!endif=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE=0D @@ -292,6 +286,14 @@ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2=0D !endif=0D =0D + # Status Code support.=0D +!if $(TARGET) =3D=3D DEBUG=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE=0D +!else=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE=0D +!endif=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE=0D +=0D [PcdsPatchableInModule.common]=0D gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7=0D gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F=0D diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc b/UefiPayloadPkg/Uefi= PayloadPkgIa32X64.dsc index 0736cd9954..3ca0f2fd93 100644 --- a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc +++ b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc @@ -3,7 +3,7 @@ #=0D # Provides drivers and definitions to create uefi payload for bootloaders.= =0D #=0D -# Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D ##=0D @@ -265,12 +265,6 @@ #=0D ##########################################################################= ######=0D [PcdsFeatureFlag]=0D -!if $(TARGET) =3D=3D DEBUG=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE=0D -!else=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE=0D -!endif=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE=0D @@ -294,6 +288,14 @@ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2=0D !endif=0D =0D + # Status Code support.=0D +!if $(TARGET) =3D=3D DEBUG=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE=0D +!else=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE=0D +!endif=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE=0D +=0D [PcdsPatchableInModule.common]=0D gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7=0D gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F=0D --=20 2.24.0.windows.2