From e77d6dc85249e5556877d36511e2f361592b3148 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 8 Jan 2019 11:37:18 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/30742 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Jay Talbott --- src/drivers/intel/fsp1_0/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/drivers/intel/fsp1_0/Makefile.inc') 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 -- cgit v1.2.3