From nobody Mon May 6 22:24:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78660+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78660+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1628105293; cv=none; d=zohomail.com; s=zohoarc; b=HQ1ZyEc432B+oEUyqxLQdzmXQUWGEMstzJDDPQ5mRQXOAP0ogi4QkLKE/AUS5uiWjkh4+2dkF56zNf7p9YDb8wE9C2hV/92OeRUfzuE2qZvKykhIC0g0T1PPbX7HHJkVzmoSUCh67uKbeSwRgrt3OzcTxp7kt+KCKZ7L21dKTWc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628105293; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=Chk0ROzwS2eITaiYCXg3vSbZeGfsmbLnsQL5vB5bRrs=; b=Bv2L4mMWt5v2slVT6HEB1yOzmjSp1WBheNU7InwbmPyr0n9hQG/usg9bpugjeedyHnvCb44zQAY+v+0cIhgDh0RQms/WuHK5EOHr/IpKliDDZL9CEyES9xcKH3sAo1cJg1lHFwAjkCC1HdJ+4Uq+csrzrYy535l++hDX+NGMvVw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78660+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628105293831722.1197645854999; Wed, 4 Aug 2021 12:28:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9mCZYY1788612xIEiE3dIih4; Wed, 04 Aug 2021 12:28:13 -0700 X-Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by mx.groups.io with SMTP id smtpd.web12.14039.1628105292407432812 for ; Wed, 04 Aug 2021 12:28:12 -0700 X-Received: by mail-qk1-f176.google.com with SMTP id f12so2693228qkh.10 for ; Wed, 04 Aug 2021 12:28:12 -0700 (PDT) X-Gm-Message-State: iYNBIXlCs6IiEYiotxWCN209x1787277AA= X-Google-Smtp-Source: ABdhPJz+yio9YtGby1lKAXJJEfArekSo55tl+yjKdwviSLGQsr552AR2St0XOYoFyi3tzPAy4gnpJg== X-Received: by 2002:a37:a38d:: with SMTP id m135mr1114345qke.222.1628105291476; Wed, 04 Aug 2021 12:28:11 -0700 (PDT) X-Received: from benjamind-benjamindomain.. ([2607:f2c0:e98c:24:3070:df1c:bdc9:1783]) by smtp.gmail.com with ESMTPSA id u25sm1284525qtq.85.2021.08.04.12.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 12:28:11 -0700 (PDT) From: "Benjamin Doron" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1] MinPlatformPkg: Move TpmPlatformHierarchyLib definition Date: Wed, 4 Aug 2021 15:27:57 -0400 Message-Id: <20210804192757.3282-1-benjamin.doron00@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,benjamin.doron00@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628105293; bh=AlIRWbli5hcLp6OkvLpFMFp8YgJJ2jUS9p4qntAPLuU=; h=Cc:Date:From:Reply-To:Subject:To; b=H42huBHVu15U3BH+BGBjo8WMFe90etYyCKyWi6jAqodD1FZmOAUGdSqYmhRr17czM0d NOgzMIFYS+qQIYmo6mZXET5rJ0h/JglzsVveozreuyzZqCPDXRpSP04cW+hQOOh9zAipt FbTMt2QWELUlG5l9gyouKePZGWaPQLatBY8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628105295689100001 Content-Type: text/plain; charset="utf-8" Move library definition inside the Include/Dsc directory, so that boards are not required to explicitly declare this common library. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Benjamin Doron Reviewed-by: Nate DeSimone --- Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc | 1 + Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc | 1 + Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc b/Pla= tform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc index 57847e6a4d6b..209ccdaf5417 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc @@ -66,6 +66,7 @@ =20 [LibraryClasses.common.DXE_DRIVER] Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf + TpmPlatformHierarchyLib|MinPlatformPkg/Tcg/Library/PeiDxeTpmPlatformHier= archyLib/PeiDxeTpmPlatformHierarchyLib.inf PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =20 [LibraryClasses.common.UEFI_DRIVER] diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc b/Pla= tform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc index d64873ac6de4..d3c668d4415d 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc @@ -62,6 +62,7 @@ Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRoute= rPei.inf HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRou= terPei.inf Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/P= eiTcg2PhysicalPresenceLib.inf + TpmPlatformHierarchyLib|MinPlatformPkg/Tcg/Library/PeiDxeTpmPlatformHier= archyLib/PeiDxeTpmPlatformHierarchyLib.inf =20 FspMeasurementLib|IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/Base= FspMeasurementLib.inf TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLo= gRecordLib.inf diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dsc index 58ee4cb85c69..07b776cecd67 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc @@ -98,7 +98,6 @@ TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/PeiTestP= ointCheckLib.inf TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/PeiTestPointLib.inf SetCacheMtrrLib|MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMtrrLibNu= ll.inf - TpmPlatformHierarchyLib|MinPlatformPkg/Tcg/Library/PeiDxeTpmPlatformHier= archyLib/PeiDxeTpmPlatformHierarchyLib.inf =20 [LibraryClasses.common.DXE_DRIVER] # @@ -107,7 +106,6 @@ FspWrapperPlatformLib|MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPla= tformLib/DxeFspWrapperPlatformLib.inf TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/DxeTestP= ointCheckLib.inf TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/DxeTestPointLib.inf - TpmPlatformHierarchyLib|MinPlatformPkg/Tcg/Library/PeiDxeTpmPlatformHier= archyLib/PeiDxeTpmPlatformHierarchyLib.inf =20 [LibraryClasses.common.DXE_SMM_DRIVER] SpiFlashCommonLib|MinPlatformPkg/Flash/Library/SpiFlashCommonLibNull/Spi= FlashCommonLibNull.inf --=20 2.31.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78660): https://edk2.groups.io/g/devel/message/78660 Mute This Topic: https://groups.io/mt/84669900/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-