summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-12-19 16:46:37 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-03-19 21:41:47 +0000
commit8a83282795a3338324f4a039d3fb623cb5b3cea6 (patch)
treed035cda610f47c8240ccb3aaea567ae29af8486c
parentb0f4456aed5cc575bfcc2d9add86872136b1a1e3 (diff)
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 <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/30310 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/drivers/intel/fsp2_0/Kconfig12
1 files changed, 12 insertions, 0 deletions
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