diff options
author | Subrata Banik <subrata.banik@intel.com> | 2019-03-11 11:53:12 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2019-03-12 04:23:15 +0000 |
commit | 52331ba4f7f08ea3c27d5d7c87b4078dea14c42d (patch) | |
tree | 66d759723d69a0952cbd51a4506c9a54ede7ef7c /src/drivers/intel | |
parent | abc5130108c65f74d02a3eee331c8bcaf5165220 (diff) |
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/drivers/intel')
-rw-r--r-- | src/drivers/intel/fsp2_0/Kconfig | 11 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/Makefile.inc | 3 |
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 |