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.web10.595.1635896394795374072 for ; Tue, 02 Nov 2021 16:39:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=UH6BuDJJ; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: nathaniel.l.desimone@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="255011233" X-IronPort-AV: E=Sophos;i="5.87,203,1631602800"; d="scan'208";a="255011233" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 16:39:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,203,1631602800"; d="scan'208";a="467918918" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga002.jf.intel.com with ESMTP; 02 Nov 2021 16:39:23 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 16:39:22 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 2 Nov 2021 16:39:22 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 2 Nov 2021 16:39:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XdKMX9Znx9jSMqIZN9ySgHhoKoSUX8tY01krEKgobtuHPXgFMwGEbSUvIAyqytZrfmOaXpNTsc6FrAf8D0SAN/9pDcMcDSpOfavraV0UsDyeKIpQVFBopVbyFq+EbcLktSUNGM5bQQbgxuqxLClfevJKw7c1rU73BRKr6st1mf4QM/mATO5XDrxKg7WdCgFcC9scQtTOIZmoCXmSOEacQgpmM2AwpJxbAF6xL+ZDmRxiro/Hk5JZ+A3TFrMCYBpYj9ZS8ubvuDOmYcEhIIKZzlqQ3VivlSZLB9gDk1//aizsqprZV3yYLh409wtakptox02On5pyP1qQ56JGFhXqCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B5xfPo4n8It6tRhYbDXiEZDD1nO103RW1po7IrAlq1Q=; b=fKbYuXLGcQxB51pnjlQJHiiH7qoPuE8z6l2HuY4lH7SK3yRrqMni6lVTZBkGM7ADlC7FsEUSDDTu9Oa2NbOdM0ipN3yLHnOglmYuGYh132albGyN1YK/glW+T4/7lzYq0ivh3zAbEEnKw6B/cC/mgZl6cN6eulMvRlIc44BctaTebQxnhhLJm42k8dw5EsDDcygS4pMiWzdCCGrPJjti/0pbwv49ynjfajjLquV3e5342EDPKEHF8Mb44HqYbb+UJCxL+9JCbffyNPR847Lpcw3oPRZU+EdqwL/nW8HPbRX49G+8KW1xKKuEXw5dFEmWFipkynERejSDNulq9Zvy0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B5xfPo4n8It6tRhYbDXiEZDD1nO103RW1po7IrAlq1Q=; b=UH6BuDJJd41KICTQ1mtE5nGK06PDnwuofLVMTHA1BaqMa94VV+VPaiQ9bacoytDzNdfuCbqv4Apy1FWeHlVkW8A9a/0LPLt5MTvkj7mei23Losxv+SEVc7BZ0PCU8X2H6df6IMcc5hYVl9sV+3yBm2r66Hvpt5UzYBmGdSnVq/8= Received: from MW4PR11MB5821.namprd11.prod.outlook.com (2603:10b6:303:184::5) by MWHPR1101MB2334.namprd11.prod.outlook.com (2603:10b6:300:72::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Tue, 2 Nov 2021 23:39:21 +0000 Received: from MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::6140:8298:9d5a:df46]) by MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::6140:8298:9d5a:df46%9]) with mapi id 15.20.4649.019; Tue, 2 Nov 2021 23:39:21 +0000 From: "Nate DeSimone" To: "mikuback@linux.microsoft.com" , "devel@edk2.groups.io" CC: "Agyeman, Prince" , "Chiu, Chasel" , "Kethi Reddy, Deepika" , "Dong, Eric" , "Luo, Heng" , Jeremy Soller , "Esakkithevar, Kathappan" , Liming Gao , "Chaganty, Rangasai V" , Benjamin Doron Subject: Re: [PATCH v6 00/52] Consolidate SpiFlashCommonLib instances Thread-Topic: [PATCH v6 00/52] Consolidate SpiFlashCommonLib instances Thread-Index: AQHXzDyQ4ZvqrmXIAUGB/0I3LZrGVKvqjZqw Date: Tue, 2 Nov 2021 23:39:21 +0000 Message-ID: References: <20211028204326.645-1-mikuback@linux.microsoft.com> In-Reply-To: <20211028204326.645-1-mikuback@linux.microsoft.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows authentication-results: linux.microsoft.com; dkim=none (message not signed) header.d=none;linux.microsoft.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c16ef3a6-52dd-4939-1852-08d99e59fecf x-ms-traffictypediagnostic: MWHPR1101MB2334: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G3kVn6B8H8aag/5JfsQmIR/VCGlMbJIVyCjcYFc4nZd8HZ1Rjzi7WYKvw/yzusJdeAcm8+JAB2KEwFlyY128+m+2AwxFZoq3LrDkzSFB+UUiepQ6hC2wEwHPR1be537LDcmM8UOyaM10A9eXhbwtURA9UUCR8MPJXDuNMwI49qYaf/s6jlEELWOsFOP5w+NpA/l27mxcty+1gfXFDvcgZwW4wuU9QfOD8H7ZE7DruqSYeu0xV0Yc7LeaPKUQgIPnm8N6hApCofKRgq3ebtWbAwfgb3nh5qoRcsrfru1500YtzvtSsJ/2cAv3f8C7QoINLSDhMT6XOvM4slGdyfXycnNoy1BB/Yt5MCOFSEInwbfeWEUeavf0jLgvbPtbWg5bpUrBlvuw0kJiQdpl/CM3aIQnE+3eQwa1AQ7j/LUjn5T+Vi0mHW52aN7AVUl5mtF/744ew3lqUVIil7myQlO64fQrI4qRtYd6HuOpqAt+q628Sr+wCmuaISt8hmi3CdkMDc0EtLACkUaHDRC47GVb3fOU84HNGrMnqMgRnGlQK0NSh/FgB9sh3XrhutT+2hvIP4v7l5gWoEDTTVcr8wYLyKsIka5+AxueRhdON1HtVyUQkRjHghvsFVsVkCHl56AekSYhBiELhWj55YZcw//OiH7qkuz74/2y4opC2Q5uSINiYK3kwH66xTDJeHn0sOe7o1BU/2zCOKrvWndDdjGs1oaAiVm3LuRUpcCgHpVAhx0udMVnx8bndaYqfsDQErhfCsvU1lot0qBqN6AM7k2R97cJHooXMwrLDqeqlmszyTi0Ndlf8ERCzc9+fFXZk/JBtJ7x7iA9Xx/lkgm8AhSqog== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5821.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(9686003)(30864003)(66446008)(66946007)(38100700002)(508600001)(66476007)(110136005)(76116006)(4326008)(54906003)(64756008)(66556008)(19627235002)(122000001)(7696005)(38070700005)(26005)(8936002)(8676002)(71200400001)(33656002)(55016002)(2906002)(52536014)(86362001)(186003)(5660300002)(316002)(966005)(82960400001)(83380400001)(6506007)(53546011)(579004)(559001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4/vYwHTA99dCNPt2csxA6KKMytYlWqw+QqzmC8H6UcqI3KElBO4X0Ny7Mcl1?= =?us-ascii?Q?Q3YksMgK3ZmD7Wv48TTWEQTwRHNJLWHve8i+KL6izWiTEHfpM6v3bIi8NFHP?= =?us-ascii?Q?7VYm4ekQ/pQx4GBdPkNDjcx4ZDwzlPDr342pRleh+Y2leiy5g1T+znLAwT5B?= =?us-ascii?Q?SbwWLsQHzzwYKeFM+oWWxjDuaV3OmgEcrq3J0i/Qc4Irmzx1v84iWWGJYxjk?= =?us-ascii?Q?oBsmXkoZ2dEtdv1I2eKHjANdKhAOCajBoNGQz9xtVgF8NM7iXIerqkaJPimk?= =?us-ascii?Q?A7/2/75lrNw9SFc8rGEnaqiL2Qgzzk5EOjNwnuhLJxDA5B3co+a/B13esMUt?= =?us-ascii?Q?tgsBN8BTGSmgYsbG+vAa/bpiEjAWPIK7SY70C3rGt3sUFDlqk1GFju1ZpwUy?= =?us-ascii?Q?yzT+Xmt2Fn7eIlBNeyZi2ZyNXFOwgKtuRYkobMPHFzcIq6Av4tiOIex4MxVu?= =?us-ascii?Q?PT6cbP3yvmsTZtEeiT+5OBwKcF8jTX6e27HwuchvMOxu4Wtmh2C4EtZ8bJok?= =?us-ascii?Q?ooaOBmOLC0epgESW2McCiqs3PyR5EOuVd1VL42YnD4g6O+owvgYPouLC1KCS?= =?us-ascii?Q?qUxGf8Jb7RVtB+1QwYcmXs+sDdcf7Ft85lJyv/fI4b/ps3dhA59RFg1gNsJV?= =?us-ascii?Q?JUf4Ki17BlLHm1uRodxHRsWniVg0FxJO4lPzrp7NOnL0x/Pqh5A+Hct6zDB3?= =?us-ascii?Q?v34u76SkdEbqIOd8Sxg42p8hzfcmeUNitH2YobkNrQIx9pYN6iD37Xi4umwV?= =?us-ascii?Q?BpPCEyNm5jWm2KBVpExbrwl88lb/AyCbolb+ogxbtdpVNZbAt1ssX+xANpv+?= =?us-ascii?Q?KWXq9jWyondsQ5fxXpZJoQ91gMqeV3ttSQwii/6uoXQneRjL+w2vXh0O7DiE?= =?us-ascii?Q?rtMQfWgx8VfM2rERn/DB03BEzNC3jVVs2I/Mpn+isJ0gfANXS/MRNiJlsiaD?= =?us-ascii?Q?pm7tSaQ+yq7ujMcQLhkEveN/5xlHEA8kOBf/9PCtSta7c5whGdWjw/dvNUnD?= =?us-ascii?Q?ZHK/FOzU1GNBoI1FE3yjv5f+jT3lbx78A6fOkcPlOD6r5lL9aI/9yJ1XMZeQ?= =?us-ascii?Q?4iyVbEQVZzYNNvZdhanLmnoVVd4Ghc1+iXGXa2zAlewYkArRQXL9nJS4h6at?= =?us-ascii?Q?SfHblKQ1FLDHa5EyMR2+xslAtQkXTlzvHqyCat3L3ZPMk22s9Y3MmvpWIOrw?= =?us-ascii?Q?PwHEeRO0Jkgg0UP3eWNti1GPMe0Q6WSkEQdkzPmPKu6J8Scn+JqyosuqwMFk?= =?us-ascii?Q?gXG1LZyeQ2t/SaxMWdsdbu6dp9gYM5Q/O1qv/oUKLssM3f6beqF0a8vXG2DW?= =?us-ascii?Q?NbvV5U6rUiMOm62fFTQCv2vshFgHtEbhFGDCdUQnjTFvW4vfXZPYN6CuWSxB?= =?us-ascii?Q?PrDlTYH8XxGtBh+bbGttKnhxIh4VvbeGAxElBR0AYHD0Rv5JCqJXCvxjUzX1?= =?us-ascii?Q?QOxbF5MCd+GI95D95dpJciCMYNrnjMumxh5ap1+CeUbYk5z8T2/vMzbdwdOS?= =?us-ascii?Q?veabEXFaJAMGL6xNW8cM98s5TNCBiNoQzHnVN3nc5ex4oIG/Tjf5cxYWfRS4?= =?us-ascii?Q?+QTZ9HgGNSjuD8/fw1wz3m8QP8jubfbWMdxWUzQuKmdkwTJzmNUgpOSCq5tf?= =?us-ascii?Q?VI16Shv7zXFIvLE5Zuxng9AxHdQwkULSdCS/lW+sZWaTutdfQ9CbFLLi23JC?= =?us-ascii?Q?VIINLw=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c16ef3a6-52dd-4939-1852-08d99e59fecf X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2021 23:39:21.1618 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YELWvBMF/dQnfVr8VUXF6Xm26TCgf3ijmkuqw7NdZ3ZvtrvfbLOY7dESab88LPTREuSAkV/KMHcMJdV/z6uUEhRCv6Sm0C6pL9bFu+ol6E0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2334 Return-Path: nathaniel.l.desimone@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The series has been pushed as 04bfa22~..bae4725 Thank you for all the excellent work on this Michael! -----Original Message----- From: mikuback@linux.microsoft.com =20 Sent: Thursday, October 28, 2021 1:43 PM To: devel@edk2.groups.io Cc: Agyeman, Prince ; Chiu, Chasel ; Kethi Reddy, Deepika ; Dong, Eric= ; Luo, Heng ; Jeremy Soller ; Esakkithevar, Kathappan ; Liming Gao ; Desimone, Nathaniel L ; Chaganty, Rangasai V = ; Benjamin Doron Subject: [PATCH v6 00/52] Consolidate SpiFlashCommonLib instances From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3307 SpiFlashCommonLib is duplicated in multiple places across the MinPlatform d= esign in edk2-platforms. I'm planning to build some additional functionalit= y on top of SpiFlashCommonLib and, ideally, this duplication will be consol= idated into a single instance usable across all current library consumers. This patch series focuses on consolidating the various SpiFlashCommonLib in= stances as agreed upon in https://edk2.groups.io/g/devel/message/71701. Read the BZ for more general background around this series. I only have an UpXtreme board on hand so maintainers/reviewers of other boa= rd packages should test these changes on those boards. V6 changes: - Changed the name of the new SPI PPI and SPI Protocol to "PCH_SPI2_PPI" and "PCH_SPI2_PROTOCOL" to differentiate the interfaces from prior definitions. The previous PPI and Protocol interfaces are available in IntelSiliconPkg. - Corresponding PPI and Protocol GUIDs are updated. - Included changes for the "AspireVn7Dash572G" that was added after the V5 patch series was sent. - Rebased the patch series for changes that have happened since the V5 patch series to resolve merge conflicts. V5 changes: - Added build support for PurleyOpenBoardPkg and WhitleyOpenBoardPkg (added to edk2-platforms during the lifetime of this patch series). - Updated KabylakeOpenBoardPkg/Library/PeiSerialPortLibSpiFlash to use the new SPI PPI interface that identifies SPI flash regions by GUID. - Added new Reviewed-by replies that came in to existing patches during v4. V4 changes: - Assigned new GUID values to the PCH SPI PPI and Protocols to differentiate from previous instances. This was done because the interface changed to identify SPI flash regions by GUID. V3 changes: - Added support to IntelSiliconPkg to identify flash regions by GUID as requested in v2 review feedback. V2 changes: - Rebased patch series on current edk2-platforms master (32183bdaa91) Note: Previous patch series only received a couple review comments after be= ing on the mailing list for over 2 months. Please be respectful of contribu= tors time and efforts and review in a timely manner. Cc: Agyeman Prince Cc: Chasel Chiu Cc: Deepika Kethi Reddy Cc: Eric Dong Cc: Heng Luo Cc: Jeremy Soller Cc: Kathappan Esakkithevar Cc: Liming Gao Cc: Nate DeSimone Cc: Rangasai V Chaganty Cc: Benjamin Doron Signed-off-by: Michael Kubacki Michael Kubacki (52): CometlakeOpenBoardPkg: Remove redundant IntelSiliconPkg.dec entry WhiskeylakeOpenBoardPkg: Remove redundant IntelSiliconPkg.dec entry CometlakeOpenBoardPkg/PeiPolicyUpdateLib: Add missing GUID to INF IntelSiliconPkg: Add BIOS area base address and size PCDs IntelSiliconPkg: Add microcode FV PCDs IntelSiliconPkg: Add PCH SPI PPI IntelSiliconPkg: Add PCH SPI Protocol IntelSiliconPkg: Add SpiFlashCommonLib IntelSiliconPkg: Add SmmSpiFlashCommonLib IntelSiliconPkg: Add MM SPI FVB services CometlakeOpenBoardPkg: Use IntelSiliconPkg BIOS area and ucode PCDs KabylakeOpenBoardPkg: Use IntelSiliconPkg BIOS area and ucode PCDs SimicsOpenBoardPkg: Use IntelSiliconPkg BIOS area and ucode PCDs TigerlakeOpenBoardPkg: Use IntelSiliconPkg BIOS area and ucode PCDs WhiskeylakeOpenBoardPkg: Use IntelSiliconPkg BIOS area and ucode PCDs CoffeelakeSiliconPkg: Use IntelSiliconPkg BIOS area and ucode PCDs KabylakeSiliconPkg: Use IntelSiliconPkg BIOS area and ucode PCDs SimicsIch10Pkg: Use IntelSiliconPkg BIOS area and ucode PCDs TigerlakeSiliconPkg: Use IntelSiliconPkg BIOS area and ucode PCDs CometlakeOpenBoardPkg: Update SpiFvbService & SpiFlashCommonLib KabylakeOpenBoardPkg: Update SpiFvbService & SpiFlashCommonLib SimicsOpenBoardPkg: Update SpiFvbService & SpiFlashCommonLib TigerlakeOpenBoardPkg: Update SpiFvbService & SpiFlashCommonLib WhiskeylakeOpenBoardPkg: Update SpiFvbService & SpiFlashCommonLib PurleyOpenBoardPkg: Use IntelSiliconPkg SpiFvbServiceSmm WhitleyOpenBoardPkg: UseIntelSiliconPkg SpiFvbServiceSmm MinPlatformPkg: Remove SpiFvbService modules CoffeelakeSiliconPkg: Remove SmmSpiFlashCommonLib KabylakeSiliconPkg: Remove SmmSpiFlashCommonLib SimicsIch10Pkg: Remove SmmSpiFlashCommonLib TigerlakeOpenBoardPkg: Remove SmmSpiFlashCommonLib MinPlatformPkg: Remove SpiFlashCommonLibNull PurleyOpenBoardPkg: Add SpiFlashCommonLib.h KabylakeOpenBoardPkg/PeiSerialPortLibSpiFlash: Add IntelSiliconPkg.dec CoffeelakeSiliconPkg: Remove PCH SPI PPI and Protocol from package KabylakeSiliconPkg: Remove PCH SPI PPI and Protocol from package SimicsIch10Pkg: Remove PCH SPI SMM Protocol from package TigerlakeSiliconPkg: Remove PCH SPI PPI and Protocol from package IntelSiliconPkg: Add flash region GUIDs IntelSiliconPkg: Identify flash regions by GUID CoffeelakeSiliconPkg/BasePchSpiCommonLib: Identify flash regions by GUID CoffeelakeSiliconPkg: Update for SPI2 PPI and Protocol CometlakeOpenBoardPkg: Remove unnecessary gPchSpiPpiGuid reference KabylakeSiliconPkg: Identify flash regions by GUID KabylakeSiliconPkg: Update for SPI2 PPI and Protocol KabylakeOpenBoardPkg/PeiSerialPortLibSpiFlash: Update for new SPI PPI API KabylakeOpenBoardPkg/KabylakeRvp3: Add PeiSerialPortlibSpiFlash to build SimicsIch10Pkg/BasePchSpiCommonLib: Identify flash regions by GUID SimicsIch10Pkg/PchSpiSmm: Update for SPI2 Protocol TigerlakeSiliconPkg/BasePchSpiCommonLib: Identify flash regions by GUID TigerlakeSiliconPkg/SpiSmm: Update for SPI2 Protocol WhiskeylakeOpenBoardPkg: Update for SPI2 PPI Platform/Intel/KabylakeOpenBoardPkg/Library/PeiSerialPortLibSpiFlash/PeiSe= rialPortLibSpiFlash.c = | 46 +-- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/PeiSpiLib/PchSpi.c = = | 10 +- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/Private/BasePchSpiCommonLib= /SpiCommon.c = | 192 +++++++++---- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SpiFla= shCommon.c = | 196 ------------- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SpiFla= shCommonSmmLib.c = | 54 ---- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Spi/Smm/PchSpi.c = = | 10 +- {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/FvbInfo.c = | 0 {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceCommon.c = | 4 +- {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceMm.c = | 8 +- {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceStandaloneMm.c = | 0 {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceTraditionalMm.c = | 0 Platform/Intel/TigerlakeOpenBoardPkg/Library/SmmSpiFlashCommonLib/SpiFlash= CommonSmmLib.c =3D> Silicon/Intel/IntelSiliconPkg/Library/SmmSpiFlashCommon= Lib/SmmSpiFlashCommonLib.c | 16 +- {Platform/Intel/TigerlakeOpenBoardPkg =3D> Silicon/Intel/IntelSiliconPkg}/= Library/SmmSpiFlashCommonLib/SpiFlashCommon.c = | 33 ++- {Platform/Intel/MinPlatformPkg/Flash =3D> Silicon/Intel/IntelSiliconPkg}/L= ibrary/SpiFlashCommonLibNull/SpiFlashCommonLibNull.c = | 12 +- Silicon/Intel/KabylakeSiliconPkg/Hsti/Dxe/SecureMemoryMapConfiguration.c = = | 108 ++++++- Silicon/Intel/KabylakeSiliconPkg/Pch/Library/PeiSpiLib/PeiSpiLib.c = = | 10 +- Silicon/Intel/KabylakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SpiFlash= Common.c = | 196 ------------- Silicon/Intel/KabylakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SpiFlash= CommonSmmLib.c = | 54 ---- Silicon/Intel/KabylakeSiliconPkg/Pch/LibraryPrivate/BasePchSpiCommonLib/Sp= iCommon.c = | 188 +++++++++---- Silicon/Intel/KabylakeSiliconPkg/Pch/Spi/Smm/PchSpi.c = = | 8 +- Silicon/Intel/SimicsIch10Pkg/Library/SmmSpiFlashCommonLib/SpiFlashCommon.c= = | 194 ------------- Silicon/Intel/SimicsIch10Pkg/Library/SmmSpiFlashCommonLib/SpiFlashCommonSm= mLib.c = | 54 ---- Silicon/Intel/SimicsIch10Pkg/LibraryPrivate/BasePchSpiCommonLib/SpiCommon.= c = | 189 +++++++++---- Silicon/Intel/SimicsIch10Pkg/Spi/Smm/PchSpi.c = = | 8 +- Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Spi/LibraryPrivate/BaseSpiCommon= Lib/SpiCommon.c = | 224 +++++++++++---- Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Spi/Smm/Spi.c = = | 10 +- Platform/Intel/CometlakeOpenBoardPkg/BiosInfo/BiosInfo.inf = = | 4 +- Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Include/Fdf/FlashMapInc= lude.fdf = | 4 +- Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkg.dsc = = | 7 +- Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkg.fdf = = | 38 +-- Platform/Intel/CometlakeOpenBoardPkg/Policy/Library/PeiPolicyUpdateLib/Pei= PolicyUpdateLib.inf = | 3 +- Platform/Intel/CometlakeOpenBoardPkg/Policy/PolicyInitDxe/PolicyInitDxe.in= f = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Include/Fdf/FlashMap= Include.fdf = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkg.dsc = = | 7 +- Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkg.fdf = = | 40 +-- Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Policy/Library/PeiSi= liconPolicyUpdateLib/PeiSiliconPolicyUpdateLib.inf = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/BiosInfo/BiosInfo.inf = = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/Include/Fdf/FlashMapInclude= .fdf = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.dsc = = | 7 +- Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.fdf = = | 40 +-- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/Include/Fdf/FlashMapInclu= de.fdf = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc = = | 9 +- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf = = | 40 +-- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/Policy/Library/PeiSilicon= PolicyUpdateLib/PeiSiliconPolicyUpdateLib.inf = | 4 +- Platform/Intel/KabylakeOpenBoardPkg/Library/PeiSerialPortLibSpiFlash/PeiSe= rialPortLibSpiFlash.inf = | 4 +- Platform/Intel/MinPlatformPkg/Include/Library/SpiFlashCommonLib.h = = | 98 ------- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec = = | 2 - Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc = = | 6 - Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/OpenBoardPkg.dsc = = | 2 +- Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/OpenBoardPkg.fdf = = | 2 +- Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/OpenBoardPkg.dsc = = | 4 +- Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/OpenBoardPkg.fdf = = | 5 +- Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc = = | 6 +- Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf = = | 2 +- Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf.inc = = | 8 +- Platform/Intel/TigerlakeOpenBoardPkg/BiosInfo/BiosInfo.inf = = | 8 +- Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/Include/Fdf/FlashMapInc= lude.fdf = | 4 +- Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkg.dsc = = | 7 +- Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkg.fdf = = | 40 +-- Platform/Intel/WhiskeylakeOpenBoardPkg/BiosInfo/BiosInfo.inf = = | 4 +- Platform/Intel/WhiskeylakeOpenBoardPkg/Policy/Library/PeiPolicyUpdateLib/P= eiPolicyUpdateLib.inf = | 3 +- Platform/Intel/WhiskeylakeOpenBoardPkg/Policy/PolicyInitDxe/PolicyInitDxe.= inf = | 4 +- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Fdf/FlashMapInclud= e.fdf = | 4 +- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Library/BoardInitLib/PeiMu= ltiBoardInitPreMemLib.inf = | 2 +- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc = = | 7 +- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.fdf = = | 38 +-- Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Fdf/FlashMa= pInclude.fdf = | 4 +- Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.dsc = = | 7 +- Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.fdf = = | 38 +-- {Silicon/Intel/SimicsIch10Pkg =3D> Platform/Intel/WhitleyOpenBoardPkg}/Inc= lude/Library/SpiFlashCommonLib.h = | 2 +- Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc = = | 2 +- Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.fdf = = | 5 +- Silicon/Intel/CoffeelakeSiliconPkg/Cpu/Library/PeiCpuPolicyLib/PeiCpuPolic= yLib.inf = | 4 +- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Include/Private/Library/PchSpiCommo= nLib.h = | 60 ++-- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Include/Protocol/Spi.h = = | 295 -------------------- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/PeiSpiLib/PeiSpiLib.inf = = | 3 +- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/Private/BasePchSpiCommonLib= /BasePchSpiCommonLib.inf = | 13 + Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SmmSpi= FlashCommonLib.inf = | 51 ---- Silicon/Intel/CoffeelakeSiliconPkg/Pch/Spi/Smm/PchSpiSmm.inf = = | 3 +- Silicon/Intel/CoffeelakeSiliconPkg/SiPkg.dec = = | 8 - {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceCommon.h = | 0 {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceMm.h = | 0 {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceSmm.inf = | 6 +- {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}= /Flash/SpiFvbService/SpiFvbServiceStandaloneMm.inf = | 6 +- Silicon/Intel/IntelSiliconPkg/Include/Guid/FlashRegion.h = = | 45 +++ Silicon/Intel/{CoffeelakeSiliconPkg/Pch =3D> IntelSiliconPkg}/Include/Libr= ary/SpiFlashCommonLib.h = | 2 +- Silicon/Intel/{CoffeelakeSiliconPkg/Pch =3D> IntelSiliconPkg}/Include/Ppi/= Spi.h = | 4 +- Silicon/Intel/IntelSiliconPkg/Include/Ppi/Spi2.h = = | 31 ++ Silicon/Intel/{TigerlakeSiliconPkg =3D> IntelSiliconPkg}/Include/Protocol/= Spi.h = | 0 Silicon/Intel/{SimicsIch10Pkg/Include/Protocol/Spi.h =3D> IntelSiliconPkg/= Include/Protocol/Spi2.h} = | 106 ++++--- Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec = = | 45 +++ Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc = = | 17 ++ {Platform/Intel/TigerlakeOpenBoardPkg =3D> Silicon/Intel/IntelSiliconPkg}/= Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf = | 26 +- {Platform/Intel/MinPlatformPkg/Flash =3D> Silicon/Intel/IntelSiliconPkg}/L= ibrary/SpiFlashCommonLibNull/SpiFlashCommonLibNull.inf = | 3 +- Silicon/Intel/KabylakeSiliconPkg/Cpu/Library/PeiCpuPolicyLib/PeiCpuPolicyL= ib.inf = | 4 +- Silicon/Intel/KabylakeSiliconPkg/Hsti/Dxe/HstiSiliconDxe.h = = | 2 +- Silicon/Intel/KabylakeSiliconPkg/Hsti/Dxe/HstiSiliconDxe.inf = = | 12 +- Silicon/Intel/KabylakeSiliconPkg/Pch/Include/Library/SpiFlashCommonLib.h = = | 98 ------- Silicon/Intel/KabylakeSiliconPkg/Pch/Include/Ppi/Spi.h = = | 26 -- Silicon/Intel/KabylakeSiliconPkg/Pch/Include/Protocol/Spi.h = = | 293 ------------------- Silicon/Intel/KabylakeSiliconPkg/Pch/IncludePrivate/Library/PchSpiCommonLi= b.h = | 68 ++--- Silicon/Intel/KabylakeSiliconPkg/Pch/Library/PeiSpiLib/PeiSpiLib.inf = = | 3 +- Silicon/Intel/KabylakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SmmSpiFl= ashCommonLib.inf = | 53 ---- Silicon/Intel/KabylakeSiliconPkg/Pch/LibraryPrivate/BasePchSpiCommonLib/Ba= sePchSpiCommonLib.inf = | 11 + Silicon/Intel/KabylakeSiliconPkg/Pch/Spi/Smm/PchSpi.h = = | 2 +- Silicon/Intel/KabylakeSiliconPkg/Pch/Spi/Smm/PchSpiSmm.inf = = | 3 +- Silicon/Intel/KabylakeSiliconPkg/SiPkg.dec = = | 13 +- Silicon/Intel/SimicsIch10Pkg/Ich10Pkg.dec = = | 11 - Silicon/Intel/SimicsIch10Pkg/IncludePrivate/Library/PchSpiCommonLib.h = = | 68 ++--- Silicon/Intel/SimicsIch10Pkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommo= nLib.inf = | 50 ---- Silicon/Intel/SimicsIch10Pkg/LibraryPrivate/BasePchSpiCommonLib/BasePchSpi= CommonLib.inf = | 16 +- Silicon/Intel/SimicsIch10Pkg/Spi/Smm/PchSpi.h = = | 2 +- Silicon/Intel/SimicsIch10Pkg/Spi/Smm/PchSpiSmm.inf = = | 3 +- Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Spi/IncludePrivate/Library/SpiCo= mmonLib.h = | 60 ++-- Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Spi/LibraryPrivate/BaseSpiCommon= Lib/BaseSpiCommonLib.inf = | 19 +- Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Spi/Smm/SpiSmm.inf = = | 3 +- Silicon/Intel/TigerlakeSiliconPkg/Pch/PchInit/Dxe/PchInitDxeTgl.inf = = | 1 + Silicon/Intel/TigerlakeSiliconPkg/SiPkg.dec = = | 8 - 118 files changed, 1450 insertions(+), 2476 deletions(-) delete mode 1006= 44 Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/SmmSpiFlashCommonLib/SpiF= lashCommon.c delete mode 100644 Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/SmmSpiFl= ashCommonLib/SpiFlashCommonSmmLib.c rename {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/F= eature}/Flash/SpiFvbService/FvbInfo.c (100%) rename {Platform/Intel/MinPla= tformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}/Flash/SpiFvbService/Sp= iFvbServiceCommon.c (96%) rename {Platform/Intel/MinPlatformPkg =3D> Silic= on/Intel/IntelSiliconPkg/Feature}/Flash/SpiFvbService/SpiFvbServiceMm.c (94= %) rename {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPk= g/Feature}/Flash/SpiFvbService/SpiFvbServiceStandaloneMm.c (100%) rename {= Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}/F= lash/SpiFvbService/SpiFvbServiceTraditionalMm.c (100%) rename Platform/Int= el/TigerlakeOpenBoardPkg/Library/SmmSpiFlashCommonLib/SpiFlashCommonSmmLib.= c =3D> Silicon/Intel/IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFla= shCommonLib.c (75%) rename {Platform/Intel/TigerlakeOpenBoardPkg =3D> Sili= con/Intel/IntelSiliconPkg}/Library/SmmSpiFlashCommonLib/SpiFlashCommon.c (8= 4%) rename {Platform/Intel/MinPlatformPkg/Flash =3D> Silicon/Intel/IntelSi= liconPkg}/Library/SpiFlashCommonLibNull/SpiFlashCommonLibNull.c (83%) dele= te mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Library/SmmSpiFlashComm= onLib/SpiFlashCommon.c delete mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Library/SmmSpiFlas= hCommonLib/SpiFlashCommonSmmLib.c delete mode 100644 Silicon/Intel/SimicsIch10Pkg/Library/SmmSpiFlashCommonL= ib/SpiFlashCommon.c delete mode 100644 Silicon/Intel/SimicsIch10Pkg/Library/SmmSpiFlashCommonL= ib/SpiFlashCommonSmmLib.c delete mode 100644 Platform/Intel/MinPlatformPkg/Include/Library/SpiFlashC= ommonLib.h rename {Silicon/Intel/SimicsIch10Pkg =3D> Platform/Intel/WhitleyOpenBoardP= kg}/Include/Library/SpiFlashCommonLib.h (96%) delete mode 100644 Silicon/I= ntel/CoffeelakeSiliconPkg/Pch/Include/Protocol/Spi.h delete mode 100644 Silicon/Intel/CoffeelakeSiliconPkg/Pch/Library/SmmSpiFl= ashCommonLib/SmmSpiFlashCommonLib.inf rename {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/F= eature}/Flash/SpiFvbService/SpiFvbServiceCommon.h (100%) rename {Platform/= Intel/MinPlatformPkg =3D> Silicon/Intel/IntelSiliconPkg/Feature}/Flash/SpiF= vbService/SpiFvbServiceMm.h (100%) rename {Platform/Intel/MinPlatformPkg = =3D> Silicon/Intel/IntelSiliconPkg/Feature}/Flash/SpiFvbService/SpiFvbServi= ceSmm.inf (88%) rename {Platform/Intel/MinPlatformPkg =3D> Silicon/Intel/I= ntelSiliconPkg/Feature}/Flash/SpiFvbService/SpiFvbServiceStandaloneMm.inf (= 88%) create mode 100644 Silicon/Intel/IntelSiliconPkg/Include/Guid/FlashRe= gion.h rename Silicon/Intel/{CoffeelakeSiliconPkg/Pch =3D> IntelSiliconPkg}/Inclu= de/Library/SpiFlashCommonLib.h (96%) rename Silicon/Intel/{CoffeelakeSilic= onPkg/Pch =3D> IntelSiliconPkg}/Include/Ppi/Spi.h (85%) create mode 100644= Silicon/Intel/IntelSiliconPkg/Include/Ppi/Spi2.h rename Silicon/Intel/{TigerlakeSiliconPkg =3D> IntelSiliconPkg}/Include/Pr= otocol/Spi.h (100%) rename Silicon/Intel/{SimicsIch10Pkg/Include/Protocol/= Spi.h =3D> IntelSiliconPkg/Include/Protocol/Spi2.h} (76%) rename {Platform= /Intel/TigerlakeOpenBoardPkg =3D> Silicon/Intel/IntelSiliconPkg}/Library/Sm= mSpiFlashCommonLib/SmmSpiFlashCommonLib.inf (65%) rename {Platform/Intel/M= inPlatformPkg/Flash =3D> Silicon/Intel/IntelSiliconPkg}/Library/SpiFlashCom= monLibNull/SpiFlashCommonLibNull.inf (91%) delete mode 100644 Silicon/Inte= l/KabylakeSiliconPkg/Pch/Include/Library/SpiFlashCommonLib.h delete mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Include/Ppi/Spi.h delete mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Include/Protocol/S= pi.h delete mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Library/SmmSpiFlas= hCommonLib/SmmSpiFlashCommonLib.inf delete mode 100644 Silicon/Intel/SimicsIch10Pkg/Library/SmmSpiFlashCommonL= ib/SmmSpiFlashCommonLib.inf -- 2.28.0.windows.1