summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_0/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-01-08 11:37:18 +0100
committerPatrick Rudolph <siro@das-labor.org>2019-01-15 07:45:41 +0000
commite77d6dc85249e5556877d36511e2f361592b3148 (patch)
tree605e3745a8615c56a92e37c738c83c0c8ebb7266 /src/drivers/intel/fsp1_0/Makefile.inc
parent3ef017c4d4975aa055f8be3dc8a5cf37250f88e2 (diff)
downloadcoreboot-e77d6dc85249e5556877d36511e2f361592b3148.tar.xz
vendorcode/intel/fsp1_0/broadwell_de: Use FSP from 3rdparty/fsp
Default to FSP binary and headers shiped in 3rdparty/fsp. * Drop headers and code from vendorcode/intel/fsp1_0/broadwell_de * Select HAVE_FSP_BIN to build test the platform * Fetch FSP repo as submodule * Make FSP_HEADER_PATH known from FSP2.0 useable on FSP1.0 * Introduce FSP_SRC_PATH for FSP source file * Add sane defaults for FSP_FILE Tested on wedge100s. Change-Id: I46f201218d19cf34c43a04f57458f474d8c3340d Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/30742 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
Diffstat (limited to 'src/drivers/intel/fsp1_0/Makefile.inc')
-rw-r--r--src/drivers/intel/fsp1_0/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
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