Jérémy Compostella has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72731 )
Change subject: [EXPERIMENTAL] soc/intel/meteorlake: Enable ramstage libgfxinit ......................................................................
[EXPERIMENTAL] soc/intel/meteorlake: Enable ramstage libgfxinit
It enables libgfxinit in place of PEIM driver.
Note:This patch also requires some changes for the rexboard:
modified sys-boot/coreboot/files/configs/config.baseboard.rex @@ -11,7 +11,6 @@ CONFIG_HAVE_IFD_BIN=y CONFIG_ADD_FSP_BINARIES=y CONFIG_FSP_M_FILE="3rdparty/blobs/intel/mtl/fsp/fspm.bin" CONFIG_FSP_S_FILE="3rdparty/blobs/intel/mtl/fsp/fsps.bin" -CONFIG_RUN_FSP_GOP=y
# Management Engine CONFIG_HAVE_ME_BIN=y
Change-Id: Ib366eb85f13b53d4768eace32c0486e6cd476fec Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com --- M src/drivers/intel/gma/Kconfig M src/mainboard/google/rex/Kconfig.name M src/mainboard/google/rex/Makefile.inc 3 files changed, 29 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/72731/1
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig index 6de18d1..19f7b32 100644 --- a/src/drivers/intel/gma/Kconfig +++ b/src/drivers/intel/gma/Kconfig @@ -86,7 +86,7 @@ || NORTHBRIDGE_INTEL_IRONLAKE || NORTHBRIDGE_INTEL_SANDYBRIDGE \ || NORTHBRIDGE_INTEL_HASWELL || SOC_INTEL_BROADWELL \ || SOC_INTEL_COMMON_SKYLAKE_BASE || SOC_INTEL_APOLLOLAKE \ - || SOC_INTEL_CANNONLAKE_BASE + || SOC_INTEL_CANNONLAKE_BASE || SOC_INTEL_METEORLAKE depends on MAINBOARD_USE_LIBGFXINIT || INTEL_GMA_LIBGFXINIT_EDID select RAMSTAGE_LIBHWBASE
diff --git a/src/mainboard/google/rex/Kconfig.name b/src/mainboard/google/rex/Kconfig.name index 7cd88aa..47c8860 100644 --- a/src/mainboard/google/rex/Kconfig.name +++ b/src/mainboard/google/rex/Kconfig.name @@ -2,5 +2,8 @@
config BOARD_GOOGLE_REX0 bool "-> Rex 0" + select MAINBOARD_HAS_LIBGFXINIT + select MAINBOARD_USE_LIBGFXINIT + select GFX_GMA select MAINBOARD_HAS_EARLY_LIBGFXINIT select DEBUG_ADA_CODE diff --git a/src/mainboard/google/rex/Makefile.inc b/src/mainboard/google/rex/Makefile.inc index 37cdc96..916d8ad 100644 --- a/src/mainboard/google/rex/Makefile.inc +++ b/src/mainboard/google/rex/Makefile.inc @@ -9,6 +9,7 @@ ramstage-y += mainboard.c ramstage-$(CONFIG_CHROMEOS) += chromeos.c ramstage-y += ec.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c