soc/intel/tigerlake: Hook up FSP repository
Select `HAVE_INTEL_FSP_REPO` so that the FSP binary from the FSP repository is used by default. Also, use the FSP headers from the FSP repository and adjust some UPD names so that coreboot is able to use them. Also added new config FSP_TYPE_CLIENT/IOT. Respective mainboard Kconfigs to select right FSP_TYPE when using FSP repository. BUG=b:175957775 BRANCH=none Change-Id: I5e694b91be7734dd98665051a6a3d9eccab7dac7 Signed-off-by: Felix Singer <felixsinger@posteo.net> Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48713 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
This commit is contained in:
committed by
Patrick Georgi
parent
5fed1590e5
commit
3e3c4560e1
@@ -21,6 +21,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||
select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
|
||||
select GENERIC_GPIO_LIB
|
||||
select HAVE_FSP_GOP
|
||||
select HAVE_INTEL_FSP_REPO
|
||||
select INTEL_DESCRIPTOR_MODE_CAPABLE
|
||||
select HAVE_SMI_HANDLER
|
||||
select IDT_IN_EVERY_STAGE
|
||||
@@ -212,11 +213,25 @@ config CBFS_SIZE
|
||||
hex
|
||||
default 0x200000
|
||||
|
||||
config FSP_TYPE_IOT
|
||||
bool
|
||||
default n
|
||||
help
|
||||
This option allows to select FSP IOT type from 3rdparty/fsp repo
|
||||
|
||||
config FSP_TYPE_CLIENT
|
||||
bool
|
||||
default !FSP_TYPE_IOT
|
||||
help
|
||||
This option allows to select FSP CLIENT type from 3rdparty/fsp repo
|
||||
|
||||
config FSP_HEADER_PATH
|
||||
default "src/vendorcode/intel/fsp/fsp2_0/tigerlake/"
|
||||
default "3rdparty/fsp/TigerLakeFspBinPkg/TGL_IOT/Include/" if FSP_TYPE_IOT
|
||||
default "3rdparty/fsp/TigerLakeFspBinPkg/Client/Include/" if FSP_TYPE_CLIENT
|
||||
|
||||
config FSP_FD_PATH
|
||||
default "3rdparty/fsp/TigerLakeFspBinPkg/Fsp.fd"
|
||||
default "3rdparty/fsp/TigerLakeFspBinPkg/TGL_IOT/Fsp.fd" if FSP_TYPE_IOT
|
||||
default "3rdparty/fsp/TigerLakeFspBinPkg/Client/Fsp.fd" if FSP_TYPE_CLIENT
|
||||
|
||||
config SOC_INTEL_TIGERLAKE_DEBUG_CONSENT
|
||||
int "Debug Consent for TGL"
|
||||
|
Reference in New Issue
Block a user