From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.12908.1595309430643251102 for ; Mon, 20 Jul 2020 22:30:30 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: ianx.kuo@intel.com) IronPort-SDR: q35fkibyxyAtjaXKEt0+3ofrFPNlEgae1AOqA4z+USgG3nS1cKFvqt2ZGeIhroaPGO7rAq+jvg 9twhkYNiQdXw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214729692" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="214729692" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:30:30 -0700 IronPort-SDR: W2e6Ihg7gun47n2ds9pZinVL9b3wLhm6GMhrSBycobGGDQyJElpG/Mph9BrdyWi7hCXq9/k2QC EPXd1vVTuohw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497607" Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:30:28 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-platforms] [PATCH v7 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 13:30:26 +0800 Message-Id: X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I999b29c30993c397f918a1f7b4ea19c61c0a460d Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu --- .../Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc | 4 +++- .../WhiskeylakeURvp/OpenBoardPkg.dsc | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.d= sc b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc index fdf85b43..1e6bd7fd 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc @@ -39,7 +39,8 @@ #=0D # Include PCD configuration for this board.=0D #=0D - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc=0D=0D + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc=0D +=0D !include OpenBoardPkgPcd.dsc=0D !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc=0D =0D @@ -172,6 +173,7 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Pei= TestPointCheckLib.inf=0D !endif=0D SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf=0D + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf=0D =0D #######################################=0D # Board Package=0D diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoa= rdPkg.dsc b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoar= dPkg.dsc index 11dffb08..502e015e 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.d= sc +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.d= sc @@ -1,7 +1,7 @@ ## @file=0D # The main build description file for the WhiskeylakeURvp board.=0D #=0D -# Copyright (c) 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
= =0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -39,7 +39,8 @@ #=0D # Include PCD configuration for this board.=0D #=0D - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc=0D=0D + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc=0D +=0D !include OpenBoardPkgPcd.dsc=0D !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc=0D =0D @@ -172,6 +173,7 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Pei= TestPointCheckLib.inf=0D !endif=0D SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf=0D + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf=0D =0D #######################################=0D # Board Package=0D --=20 2.26.2.windows.1