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.web11.33837.1595235544608111290 for ; Mon, 20 Jul 2020 01:59:04 -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: lbQE08m+kGSb3F+XNAxPoVgxKq749tbYFw6CYTPSEoUnqiBvf1LjwMOLkFSnwm0xNl/z0PAJsv MqSjE/vdTXDA== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="168006453" X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="168006453" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 01:59:03 -0700 IronPort-SDR: Pg82vp+FqwF5PDOy6R8tfjkT0qWMOpDHu7YIOHopjZ3v8y6pxm3/zaDqigeVcAFNTaHkw6PYw0 MC9ZZ0wGdm5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="283450296" Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by orsmga003.jf.intel.com with ESMTP; 20 Jul 2020 01:59:02 -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 16:59:01 +0800 Message-Id: <094559356baf16a6f82f946f8935dbc1b7928e41.1595235415.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