From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.4447.1595043828306225653 for ; Fri, 17 Jul 2020 20:43:48 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: ianx.kuo@intel.com) IronPort-SDR: WUER332a3Ei5XX+Zr+BkXE/dgJgyAt+JENhUpJ3seY8E97NRFBJUSIqQF9eljllYBtTU2E3vFt VGiiS3VRGzcg== X-IronPort-AV: E=McAfee;i="6000,8403,9685"; a="167845385" X-IronPort-AV: E=Sophos;i="5.75,365,1589266800"; d="scan'208";a="167845385" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 20:43:47 -0700 IronPort-SDR: X60ypXgO/dPhhcRzluAjTBW9PLq7BeMB/4LnB+wBh54+UuvwE0LFFDLcR1JSeNbM10YrvUmo2a 3IdfxOFR52Tw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,365,1589266800"; d="scan'208";a="318968361" Received: from nkobayas-mobl.gar.corp.intel.com (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.252.190.252]) by fmsmga002.fm.intel.com with ESMTP; 17 Jul 2020 20:43:47 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [PATCH v3 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Sat, 18 Jul 2020 11:43:41 +0800 Message-Id: <094559356baf16a6f82f946f8935dbc1b7928e41.1595043670.git.ianx.kuo@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I999b29c30993c397f918a1f7b4ea19c61c0a460d Signed-off-by: IanX Kuo --- .../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..f78dba87 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 @@ -121,6 +122,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf=0D PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf=0D ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf=0D + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf=0D TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf=0D =0D #######################################=0D diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoa= rdPkg.dsc b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoar= dPkg.dsc index 11dffb08..9ee4030a 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 @@ -121,6 +122,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf=0D PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf=0D ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf=0D + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf=0D TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf=0D =0D #######################################=0D --=20 2.26.2.windows.1