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>
This commit is contained in:
Patrick Rudolph
2019-01-08 11:37:18 +01:00
committed by Patrick Rudolph
parent 3ef017c4d4
commit e77d6dc852
18 changed files with 33 additions and 2516 deletions

View File

@@ -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

View File

@@ -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