summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/fsp1_0/Kconfig10
-rw-r--r--src/drivers/intel/fsp1_0/Makefile.inc8
2 files changed, 18 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp1_0/Kconfig b/src/drivers/intel/fsp1_0/Kconfig
index b26976aee7..b2338aa123 100644
--- a/src/drivers/intel/fsp1_0/Kconfig
+++ b/src/drivers/intel/fsp1_0/Kconfig
@@ -45,6 +45,16 @@ config FSP_1_0_DEBUG_LEVEL
2: NORMAL
3: MAXIMUM
+config FSP_HEADER_PATH
+ string "Location of FSP headers"
+ help
+ The path to headers files that are released with the FSP binary.
+
+config FSP_SRC_PATH
+ string "Additional FSP source file"
+ help
+ Additional source files that are released with the FSP binary.
+
if HAVE_FSP_BIN
config FSP_FILE
diff --git a/src/drivers/intel/fsp1_0/Makefile.inc b/src/drivers/intel/fsp1_0/Makefile.inc
index 67741a927a..604b9bc0a7 100644
--- a/src/drivers/intel/fsp1_0/Makefile.inc
+++ b/src/drivers/intel/fsp1_0/Makefile.inc
@@ -47,4 +47,12 @@ mrc.cache-type := mrc_cache
endif
endif
+ifneq ($(call strip_quotes,$(CONFIG_FSP_SRC_PATH)),)
+ramstage-y += $(call strip_quotes,$(CONFIG_FSP_SRC_PATH))
+endif
+
+ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),)
+CPPFLAGS_common += -I$(CONFIG_FSP_HEADER_PATH)
+endif
+
endif