From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: chasel.chiu@intel.com) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by groups.io with SMTP; Wed, 22 May 2019 01:35:20 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2019 01:35:20 -0700 X-ExtLoop1: 1 Received: from cchiu4-mobl1.gar.corp.intel.com ([10.5.240.31]) by fmsmga007.fm.intel.com with ESMTP; 22 May 2019 01:35:19 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Nate DeSimone , Michael Kubacki Subject: [PATCH 0/2] Add FSP Dispatch mode switch Date: Wed, 22 May 2019 16:35:08 +0800 Message-Id: <20190522083510.17476-1-chasel.chiu@intel.com> X-Mailer: git-send-email 2.13.3.windows.1 Boot loader (FspWrapper/Platform code) now can switch to Dispatch mode defined by FSP 2.1 spec using PcdFspModeSelection. For backward compatibility different FspBinPkg may be consumed in each mode. To support this switch, below are required changes in KabylakeOpenBoardPkg and KabylakeSiliconPkg: 1. In Dispatch mode AmberLakeFspBinPkg will be consumed and KabylakeFspBinPkg is for API mode for backward compatible. 2. Temporary memory arrangement will be different between each mode because in Dispatch mode FSP will share the same stack with boot loader. 3. For now default mode is still API before all implementation completed. Cc: Nate DeSimone Cc: Michael Kubacki Signed-off-by: Chasel Chiu Chasel, Chiu (2): KabylakeSiliconPkg: Add FSP Dispatch switch. KabylakeOpenBoardPkg: Add FSP Dispatch switch. Platform/Intel/KabylakeOpenBoardPkg/Include/Fdf/FlashMapInclude.fdf | 8 ++++---- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc | 33 +++++++++++++++++++++++++++++---- Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.dsc | 29 +++++++++++++++++++++++++++++ Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibFsp/PeiSiliconPolicyInitLibFspAml.inf | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 208 insertions(+), 8 deletions(-) create mode 100644 Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibFsp/PeiSiliconPolicyInitLibFspAml.inf -- 2.13.3.windows.1