From nobody Mon May 6 13:24:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42423+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42423+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1560500744; cv=none; d=zoho.com; s=zohoarc; b=As+u1bGqCa30C4PLEHdx5T1h7TqvIupsoVwk3kK3nwMMefAURLHFQiCJrNOD263UyzBlBxkAwRF5VjBHkySTd9UrxAYK246A/Qu98p6OFc1imvB1PG4tU1bR8f04uZD08SY/oheULAU6aGR+cQDxhGhvT1gBjmkssWeYVNJunF8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560500744; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=PYFqV1OuHEHM/4/kdHuYGqhjskf1kGBis+ZK5Ims9nU=; b=gmrWNMnsq4wgBIzNmjl5ptdVDGC8WPsJOOABG+ZQt/Yea9VTdQOFNtrxGmZ+9a70baVqPiJ3EXAJ1qjBG70p4cc2szvo1mh4Gt1Vi3zcV/WsQRfYw1poE2CZQgkTQBE1ZPHVG9EymvkOOjJfvowLW3Jeyf00/sB2x0fq3grmDrg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42423+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1560500744129263.7212992245361; Fri, 14 Jun 2019 01:25:44 -0700 (PDT) Return-Path: X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by groups.io with SMTP; Fri, 14 Jun 2019 01:25:43 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 01:25:43 -0700 X-ExtLoop1: 1 X-Received: from cchiu4-mobl1.gar.corp.intel.com ([10.5.240.27]) by FMSMGA003.fm.intel.com with ESMTP; 14 Jun 2019 01:25:42 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Michael Kubacki , Nate DeSimone , Liming Gao Subject: [edk2-devel] [PATCH] KabylakeOpenBoardPkg: Remove PeiMain for Dispatch mode. Date: Fri, 14 Jun 2019 16:24:49 +0800 Message-Id: <20190614082449.17680-1-chasel.chiu@intel.com> Precedence: Bulk List-Unsubscribe: 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,chasel.chiu@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1560500743; bh=ZH0vl2KgLfgr/dhA013Wn3XmXvDqK/YRV31Eh5F2wBc=; h=Cc:Date:From:Reply-To:Subject:To; b=Bb5X5RBHDt6E+GVRtDxRnDzxwS7/6rtqsGBaZ2AQNO+MBoY3v3Q4jWAWmQpkAcEfPK6 qI2+kVchOgXpDWQfV20BcQTSsiGvDWg5ac03XB+CdaUDFRtWNtfwh6Ii5MuFzrvrBfQLG amGDpfsczCrXC6bm0K0jSxri4YQbpa18AoY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1916 In Dispatch mode PeiMain from FSP Binary will be launched so the one from boot loader can be removed. Test: Verified the PeiMain is removed in Dispatch mode and included in API mode. Cc: Michael Kubacki Cc: Nate DeSimone Cc: Liming Gao Signed-off-by: Chasel Chiu Reviewed-by: Nate DeSimone --- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf | 6 ++++= ++ 1 file changed, 6 insertions(+) diff --git a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.= fdf b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf index 007cb4b28f..abafd8e44d 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf +++ b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf @@ -226,7 +226,13 @@ READ_LOCK_STATUS =3D TRUE FvNameGuid =3D FC8FE6B5-CD9B-411E-BD8F-31824D0CDE3D =20 INF UefiCpuPkg/SecCore/SecCore.inf +!if (gMinPlatformPkgTokenSpaceGuid.PcdFspWrapperBootMode =3D=3D FALSE) || = (gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection =3D=3D 1) +# +# PeiMain is needed only for FSP API mode or EDK2 build, +# in FSP dispatch mode the one inside FSP Binary is launched. +# INF MdeModulePkg/Core/Pei/PeiMain.inf +!endif !include $(PLATFORM_PACKAGE)/Include/Fdf/CorePreMemoryInclude.fdf =20 INF $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf --=20 2.13.3.windows.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 (#42423): https://edk2.groups.io/g/devel/message/42423 Mute This Topic: https://groups.io/mt/32061785/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-