From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.31685.1595222363249029943 for ; Sun, 19 Jul 2020 22:19:23 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: ianx.kuo@intel.com) IronPort-SDR: 7qJai894y1OkugLaM2YY9mw+UYG0vnDuejwFsOK8PT8lKfih/greblh1NxF5I61GrylDJV56ZJ yg+qkTZQUxUA== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="147811038" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="147811038" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:19:22 -0700 IronPort-SDR: WwB5iDMaPaJZIYDK2Tkg/iKX1ItKhv9do02VjKKqwntn669k9k3yUzv7yWkptt2gWDURLKFMwQ li2V+kCE2wwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319413160" Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:19:20 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [PATCH v4 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Mon, 20 Jul 2020 13:19:18 +0800 Message-Id: <094559356baf16a6f82f946f8935dbc1b7928e41.1595221795.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