Introduce EC_GOOGLE_CHROMEEC_LED_CONTROL to allow boards to opt-in to manual LED/lightbar synchronization. This ensures that the AP firmware can coordinate the lightbar state with boot animations or specific power states (like critical battery alerts) without forcing the logic on all ChromeEC-based platforms. On Bluey, the lightbar logic is refactored into a helper function `platform_init_lightbar()` to improve readability and is now gated by the new Kconfig. Similar gating is applied to Fatcat's romstage. Summary of changes: - Add EC_GOOGLE_CHROMEEC_LED_CONTROL Kconfig option. - Bluey: Refactor lightbar init into a helper and gate by Kconfig. - Fatcat: Gate early lightbar initialization by Kconfig. Change-Id: I6b0294b73b8b9929a6be0e15bf64f7e688b7da8c Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91477 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> |
||
|---|---|---|
| .. | ||
| chromeec | ||
| common | ||
| wilco | ||