From 086d3a32324ac37be26da5f14108d7facc3ba50f Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 24 Feb 2026 09:40:36 +0530 Subject: [PATCH] mb/google/fatcat: Enable ChromeOS EC LEDs in romstage Initialize the ChromeOS EC LEDs during the bootblock phase for the fatcat mainboard. This ensures the LEDs are powered on early in the boot process to provide visual feedback to the user. This covers edge cases where the lightbar was left in an OFF state by AP firmware and no EC reset occurred to restore defaults. TEST=Boot moonstome and verify the LEDs turns on during the bootblock stage. Change-Id: I24ce78e4a30ea8fce7d7a90e01525c328db7e325 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/91392 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/mainboard/google/fatcat/romstage.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mainboard/google/fatcat/romstage.c b/src/mainboard/google/fatcat/romstage.c index 9cece34bf6..5098cd3d8b 100644 --- a/src/mainboard/google/fatcat/romstage.c +++ b/src/mainboard/google/fatcat/romstage.c @@ -48,6 +48,14 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) void platform_romstage_pre_mem(void) { + /* + * Early initialization of the Chrome EC lightbar. + * Ensures visual continuity if the AP firmware disabled the lightbar + * in a previous boot without a subsequent EC reset. + */ + if (CONFIG(EC_GOOGLE_CHROMEEC)) + google_chromeec_lightbar_on(); + /* * Only alert the user (set LED to red in color) if the lid is closed and the battery * is critically low without AC power.