aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2020-03-27 20:34:54 +0100
committerNico Huber <nico.h@gmx.de>2020-04-05 23:26:04 +0000
commit04da5d72d9f12b066830b82632c4a72c7c50ea5d (patch)
treea835ade1682605fc001f2145dc398bfde99e9936 /src/drivers
parent52a9599d079896a3a9b379786520208b8ec22269 (diff)
fsp2_0: Clean up around `config FSP_USE_REPO`
We can make our lifes much easier by removing its dependency on `ADD_FSP_BINARIES`. Instead, we imply the latter if the repository is to be used. We can also hide a lot of unnecessary prompts in this case. Also, remove default overrides and selects for the two that are now unnecessary. Change-Id: I8538f2e966adc9da0fbea2250c954d86e42dfeb3 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39882 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/fsp2_0/Kconfig32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig
index 1e1cc194d8..b3b99bdbe0 100644
--- a/src/drivers/intel/fsp2_0/Kconfig
+++ b/src/drivers/intel/fsp2_0/Kconfig
@@ -31,11 +31,19 @@ config PLATFORM_USES_FSP2_1
if PLATFORM_USES_FSP2_0
+config FSP_USE_REPO
+ bool "Use binaries of the Intel FSP repository on GitHub"
+ depends on HAVE_INTEL_FSP_REPO
+ default y
+ help
+ When selecting this option, the SoC must set FSP_HEADER_PATH
+ and FSP_FD_PATH correctly so FSP splitting works.
+
config ADD_FSP_BINARIES
- bool "Add Intel FSP 2.0 binaries to CBFS"
+ bool "Add Intel FSP 2.0 binaries to CBFS" if !FSP_USE_REPO
+ default y if FSP_USE_REPO
help
- Add the FSP-M and FSP-S binaries to CBFS. Currently coreboot does not
- use the FSP-T binary and it is not added.
+ Add the FSP-M and FSP-S binaries to CBFS.
config FSP_T_CBFS
string "Name of FSP-T in CBFS"
@@ -50,31 +58,23 @@ config FSP_M_CBFS
string "Name of FSP-M in CBFS"
default "fspm.bin"
-config FSP_USE_REPO
- bool "Use the IntelFSP based binaries"
- depends on ADD_FSP_BINARIES
- depends on HAVE_INTEL_FSP_REPO
- default y
- help
- When selecting this option, the SoC must set FSP_HEADER_PATH
- and FSP_FD_PATH correctly so FSP splitting works.
-
config FSP_T_FILE
- string "Intel FSP-T (temp RAM init) binary path and filename"
+ string "Intel FSP-T (temp RAM init) binary path and filename" if !FSP_USE_REPO
+ depends on ADD_FSP_BINARIES
depends on FSP_CAR
default "$(obj)/Fsp_T.fd" if FSP_USE_REPO
help
- The path and filename of the Intel FSP-M binary for this platform.
+ The path and filename of the Intel FSP-T binary for this platform.
config FSP_M_FILE
- string "Intel FSP-M (memory init) binary path and filename"
+ string "Intel FSP-M (memory init) binary path and filename" if !FSP_USE_REPO
depends on ADD_FSP_BINARIES
default "$(obj)/Fsp_M.fd" if FSP_USE_REPO
help
The path and filename of the Intel FSP-M binary for this platform.
config FSP_S_FILE
- string "Intel FSP-S (silicon init) binary path and filename"
+ string "Intel FSP-S (silicon init) binary path and filename" if !FSP_USE_REPO
depends on ADD_FSP_BINARIES
default "$(obj)/Fsp_S.fd" if FSP_USE_REPO
help