[coreboot-gerrit] New patch to review for coreboot: soc/intel/skylake: Enable mainboard to select fsp driver to use

Naresh Solanki (naresh.solanki@intel.com) gerrit at coreboot.org
Mon Oct 17 14:06:41 CEST 2016


Naresh Solanki (naresh.solanki at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17044

-gerrit

commit b659a3ae73715a5606100673aa436a70e3de0175
Author: Naresh G Solanki <naresh.solanki at intel.com>
Date:   Mon Oct 17 17:21:08 2016 +0530

    soc/intel/skylake: Enable mainboard to select fsp driver to use
    
    Enable mainboard Kconfig to select between fsp 2.0 & 1.0 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 at intel.com>
    Signed-off-by: Rizwan Qureshi <rizwan.qureshi at intel.com>
---
 src/soc/intel/skylake/Kconfig | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index 3c843f5..ccbccc4 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -52,9 +52,14 @@ config CPU_SPECIFIC_OPTIONS
 	select TSC_SYNC_MFENCE
 	select UDELAY_TSC
 
+config MAINBOARD_USES_FSP2_0
+	bool "Mainboard uses fsp2.0 driver"
+	default n
+
 choice
 	prompt "FSP Driver"
-	default USE_FSP1_1_DRIVER
+	default USE_FSP1_1_DRIVER if !MAINBOARD_USES_FSP2_0
+	default USE_FSP2_0_DRIVER if MAINBOARD_USES_FSP2_0
 
 config USE_FSP2_0_DRIVER
 	bool "Build with FSP 2.0"
@@ -64,6 +69,7 @@ config USE_FSP2_0_DRIVER
 
 config USE_FSP1_1_DRIVER
 	bool "Build with FSP 1.1"
+	depends on !MAINBOARD_USES_FSP2_0
 	select PLATFORM_USES_FSP1_1
 	select GOP_SUPPORT
 	select DISPLAY_FSP_ENTRY_POINTS



More information about the coreboot-gerrit mailing list