Reviewed-by: Nate DeSimone <[email protected]>

-----Original Message-----
From: Tan, Ming <[email protected]> 
Sent: Tuesday, June 9, 2020 4:24 AM
To: [email protected]
Cc: Chiu, Chasel <[email protected]>; Desimone, Nathaniel L 
<[email protected]>
Subject: [PATCH 2/5] Platform/Intel/WhiskeylakeOpenBoardPkg: Change some PCDs 
type

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2791

Since the type of PcdStatusCodeUseSerial and PcdStatusCodeUseMemory in 
MdeModulePkg.dec are changed, so change them from PcdsFeatureFlag to 
PcdsFixedAtBuild in dsc files.

Cc: Chasel Chiu <[email protected]>
Cc: Nate DeSimone <[email protected]>
Signed-off-by: Ming Tan <[email protected]>
---
 .../UpXtreme/OpenBoardPkgPcd.dsc                   | 13 +++++++------
 .../WhiskeylakeURvp/OpenBoardPkgPcd.dsc            | 14 +++++++-------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git 
a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc 
b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc
index af548dc81b..d797ae9d94 100644
--- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.dsc
+++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkgPcd.ds
+++ c
@@ -71,12 +71,6 @@
   # Edk2 Configuration   ######################################   
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE- 
 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE-!if $(TARGET) == 
RELEASE-  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE-!else-  
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE-!endif   
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE   
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileEnable|FALSE   
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE@@ -216,6 +210,13 
@@
   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE   
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE +  
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE+!if $(TARGET) == 
RELEASE+  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE+!else+  
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE+!endif+   
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask|0x80   
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset|0x00   
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber|0x0diff --git 
a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkgPcd.dsc 
b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkgPcd.dsc
index b3dc1ef501..5d769e8153 100644
--- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkgPcd.dsc
+++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPk
+++ gPcd.dsc
@@ -1,7 +1,7 @@
 ## @file #  PCD configuration build description file for the WhiskeylakeURvp 
board. #-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>+# 
Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR> # # 
SPDX-License-Identifier: BSD-2-Clause-Patent #@@ -71,12 +71,6 @@
   # Edk2 Configuration   ######################################   
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE- 
 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE-!if $(TARGET) == 
RELEASE-  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE-!else-  
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE-!endif   
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE   
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileEnable|FALSE   
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE@@ -203,6 +197,12 
@@
 !if $(TARGET) == DEBUG   
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE !endif+  
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE+!if $(TARGET) == 
RELEASE+  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE+!else+  
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE+!endif    
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask|0x80   
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset|0x00-- 
2.24.0.windows.2


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#61091): https://edk2.groups.io/g/devel/message/61091
Mute This Topic: https://groups.io/mt/74771805/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to