From 4030fc5f917ca4148ab16d65d7ace13f15b48f83 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 29 Dec 2025 10:07:33 -0600 Subject: [PATCH] device/Kconfig: Gate early libgfxinit default on ChromeOS Early libgfxinit is currently only used for ChromeOS ESOL features, so only auto-enable MAINBOARD_USE_EARLY_LIBGFXINIT when both MAINBOARD_HAS_EARLY_LIBGFXINIT and CHROMEOS are enabled, preventing unnecessary Ada toolchain requirements for non-ChromeOS builds. TEST=build/boot google/yaviks w/o CHROMEOS support, verify ADA/gnat not needed to compile. Change-Id: Ieec2a15783ce57015579d14aba0f67783c79b02c Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/90636 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/device/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/Kconfig b/src/device/Kconfig index f185ecb4c3..39aa7dd193 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -126,7 +126,7 @@ endchoice choice prompt "Early (romstage) graphics initialization" - default MAINBOARD_USE_EARLY_LIBGFXINIT if MAINBOARD_HAS_EARLY_LIBGFXINIT + default MAINBOARD_USE_EARLY_LIBGFXINIT if MAINBOARD_HAS_EARLY_LIBGFXINIT && CHROMEOS default NO_EARLY_GFX_INIT config NO_EARLY_GFX_INIT