From 33d9c4ad7e9e8048e90858edd8e0212e23a0ac8e Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 26 May 2020 18:26:54 +0530 Subject: drivers/intel/fsp2_0: Add FSP 2.2 specific support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Based on FSP EAS v2.1 – Backward compatibility is retained. • Add multi-phase silicon initialization to increase the modularity of the FspSiliconInit() API. • Add FspMultiPhaseSiInit() API • FSP_INFO_HEADER changes o Added FspMultiPhaseSiInitEntryOffset • Add FSPS_ARCH_UPD o Added EnableMultiPhaseSiliconInit, bootloaders designed for FSP 2.0/2.1 can disable the FspMultiPhaseSiInit() API and continue to use FspSiliconInit() without change. FSP 2.2 Specification: https://www.intel.com/content/www/us/en/intelligent-systems/intel-firmware-support-package/intel-fsp-overview.html Change-Id: If7177a267f3a9b4cbb60a639f1c737b9a3341913 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/41728 Reviewed-by: Srinidhi N Kaushik Tested-by: build bot (Jenkins) --- src/drivers/intel/fsp2_0/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/drivers/intel/fsp2_0/Kconfig') diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig index 0344116370..c7c44cd849 100644 --- a/src/drivers/intel/fsp2_0/Kconfig +++ b/src/drivers/intel/fsp2_0/Kconfig @@ -18,6 +18,19 @@ config PLATFORM_USES_FSP2_1 1. Remove FSP stack switch and use the same stack with boot firmware 2. FSP should support external PPI interface pulled in via FSP_PEIM_TO_PEIM_INTERFACE +config PLATFORM_USES_FSP2_2 + bool + default n + select PLATFORM_USES_FSP2_1 + help + Include FSP 2.2 wrappers and functionality. + Features added into FSP 2.2 specification that impact coreboot are: + 1. Added multi-phase silicon initialization to increase the modularity of the + FspSiliconInit() API + 2. FSP_INFO_HEADER changes to add FspMultiPhaseSiInitEntryOffset + 3. Added EnableMultiPhaseSiliconInit, bootloaders designed for FSP2.0/2.1 can disable + the FspMultiPhaseSiInit() API and continue to use FspSiliconInit() without change. + if PLATFORM_USES_FSP2_0 config HAVE_INTEL_FSP_REPO -- cgit v1.2.3