summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-03-11 11:53:12 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-03-12 04:23:15 +0000
commit52331ba4f7f08ea3c27d5d7c87b4078dea14c42d (patch)
tree66d759723d69a0952cbd51a4506c9a54ede7ef7c /src
parentabc5130108c65f74d02a3eee331c8bcaf5165220 (diff)
downloadcoreboot-52331ba4f7f08ea3c27d5d7c87b4078dea14c42d.tar.xz
drivers/intel/fsp2_0: Add provision to include PPI directory
This patch adds a generic provision into FSP2.0 driver to implement dedicated PEIM to PEIM interface as per Intel FSP requirement. Change-Id: I988d55890f8dd95ccf80c1f1ec2eba8196ddf9a7 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31836 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/fsp2_0/Kconfig11
-rw-r--r--src/drivers/intel/fsp2_0/Makefile.inc3
2 files changed, 14 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig
index 8e64c6b0d2..3951e9a959 100644
--- a/src/drivers/intel/fsp2_0/Kconfig
+++ b/src/drivers/intel/fsp2_0/Kconfig
@@ -172,4 +172,15 @@ config FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
This allows deployed systems to bump their version number
with the same FSP which will trigger a retrain of the memory.
+config FSP_PEIM_TO_PEIM_INTERFACE
+ bool
+ help
+ This option allows SOC user to create specific PPI for Intel FSP
+ usage, coreboot will provide required PPI structure definitions
+ along with all APIs as per EFI specification.
+
+if FSP_PEIM_TO_PEIM_INTERFACE
+source "src/drivers/intel/fsp2_0/ppi/Kconfig"
+endif
+
endif
diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc
index 79fe5f8d3e..f26a776133 100644
--- a/src/drivers/intel/fsp2_0/Makefile.inc
+++ b/src/drivers/intel/fsp2_0/Makefile.inc
@@ -82,4 +82,7 @@ ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),)
CPPFLAGS_common+=-I$(CONFIG_FSP_HEADER_PATH)
endif
+# Include PPI directory of CONFIG_FSP_PEIM_TO_PEIM_INTERFACE is enable
+subdirs-$(CONFIG_FSP_PEIM_TO_PEIM_INTERFACE) += ppi
+
endif