soc/intel/skylake: Allow selecting FSP driver in Kconfig
Enable mainboard Kconfig to select between FSP 2.0 & 1.1 driver to be used. If mainboard Kconfig selects MAINBOARD_USES_FSP2_0 the FSP2_0 driver is used else FSP1_1. Change-Id: I724aaa87c2b0b8f6ddb18f61af9c37176ef632f2 Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com> Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Reviewed-on: https://review.coreboot.org/17044 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
09ec9e74a9
commit
fe517f635b
|
@ -52,24 +52,26 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select TSC_SYNC_MFENCE
|
||||
select UDELAY_TSC
|
||||
|
||||
choice
|
||||
prompt "FSP Driver"
|
||||
default USE_FSP1_1_DRIVER
|
||||
config MAINBOARD_USES_FSP2_0
|
||||
bool
|
||||
default n
|
||||
|
||||
config USE_FSP2_0_DRIVER
|
||||
bool "Build with FSP 2.0"
|
||||
depends on MAINBOARD_USES_FSP2_0
|
||||
default y if MAINBOARD_USES_FSP2_0
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select ADD_VBT_DATA_FILE
|
||||
select SOC_INTEL_COMMON_GFX_OPREGION
|
||||
|
||||
config USE_FSP1_1_DRIVER
|
||||
bool "Build with FSP 1.1"
|
||||
depends on !MAINBOARD_USES_FSP2_0
|
||||
default y if !MAINBOARD_USES_FSP2_0
|
||||
select PLATFORM_USES_FSP1_1
|
||||
select GOP_SUPPORT
|
||||
select DISPLAY_FSP_ENTRY_POINTS
|
||||
|
||||
endchoice
|
||||
|
||||
config CHROMEOS
|
||||
select CHROMEOS_RAMOOPS_DYNAMIC
|
||||
select EC_SOFTWARE_SYNC if EC_GOOGLE_CHROMEEC
|
||||
|
|
Loading…
Reference in New Issue