From 642433813f0e81cb06dcce00eadf27f49a06bbd8 Mon Sep 17 00:00:00 2001 From: Kapil Porwal Date: Wed, 28 Jan 2026 15:00:00 +0530 Subject: [PATCH] mb/google/bluey: Initialize display before low-power boot check Currently, display_startup() is called near the end of mainboard_init. If the system enters a low-power boot mode (such as low-battery or off-mode charging), the function returns early, leaving the display uninitialized. Move display_startup() before the is_low_power_boot() check. This ensures the display is ready to show user notifications, such as battery status or charging icons, even when the rest of the mainboard initialization is skipped. TEST=Build and boot Google/Quartz. Change-Id: Ibaa2b20d3ea1ca8548ea6ebf93efbc48cb7a6b95 Signed-off-by: Kapil Porwal Reviewed-on: https://review.coreboot.org/c/coreboot/+/90968 Reviewed-by: Jayvik Desai Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/mainboard/google/bluey/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/bluey/mainboard.c b/src/mainboard/google/bluey/mainboard.c index 6d3538dcde..c7c136a886 100644 --- a/src/mainboard/google/bluey/mainboard.c +++ b/src/mainboard/google/bluey/mainboard.c @@ -153,6 +153,8 @@ static void mainboard_init(struct device *dev) { configure_parallel_charging(); + display_startup(); + /* Skip mainboard initialization if boot mode is "low-battery" or "off-mode charging"*/ if (is_low_power_boot_with_charger()) return; @@ -204,8 +206,6 @@ static void mainboard_init(struct device *dev) /* Setup USB related initial config */ setup_usb(); - display_startup(); - lpass_init(); }