From 8a83282795a3338324f4a039d3fb623cb5b3cea6 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 19 Dec 2018 16:46:37 +0530 Subject: [PATCH] drivers/intel/fsp2_0: Add support for FSP minor version update This patch adds support for FSP2.1 Kconfig which is backward compatible with FSP2.0 specification and added below coreboot impacted features as below: 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 Change-Id: I2fef95a783a08d85a7dc2987f804a931613f5524 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/30310 Reviewed-by: Philipp Deppenwiese Tested-by: build bot (Jenkins) --- src/drivers/intel/fsp2_0/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig index 4404b4c33d..7fe81e51a0 100644 --- a/src/drivers/intel/fsp2_0/Kconfig +++ b/src/drivers/intel/fsp2_0/Kconfig @@ -19,6 +19,18 @@ config PLATFORM_USES_FSP2_0 help Include FSP 2.0 wrappers and functionality +config PLATFORM_USES_FSP2_1 + bool + default n + select PLATFORM_USES_FSP2_0 + select FSP_USES_CB_STACK + select FSP_PEIM_TO_PEIM_INTERFACE + help + Include FSP 2.1 wrappers and functionality. + Features added into FSP 2.1 specification that impacts corerboot are: + 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 + if PLATFORM_USES_FSP2_0 config ADD_FSP_BINARIES