mb/google/bluey: Move QUP-GSI init/load to normal boot path

The ADSP GSI initialization/loading is needed in both
normal boot and the off-mode/low-battery charging path. This patch
moves it before the conditional mainboard initialization skip, so it
runs in all cases.

TEST=Able to build and boot google/bluey.

Change-Id: I6237154f8701d5f7f9e1e0b20378cb8e8be39fca
Signed-off-by: Hari L <haril@qualcomm.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91637
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Hari L 2026-03-10 17:30:11 +05:30 committed by Subrata Banik
commit e9e4f7609c

View file

@ -218,6 +218,10 @@ static void mainboard_init(struct device *dev)
/* ADSP I2C (Charger/Fuel gauge) */
qupv3_se_fw_load_and_init(QUPV3_2_SE4, SE_PROTOCOL_I2C, MIXED);
gpi_firmware_load(QUP_0_GSI_BASE);
gpi_firmware_load(QUP_1_GSI_BASE);
gpi_firmware_load(QUP_2_GSI_BASE);
configure_parallel_charging_late();
/* Skip mainboard initialization if boot mode is "low-battery" or "off-mode charging" */
@ -226,10 +230,6 @@ static void mainboard_init(struct device *dev)
halt();
}
gpi_firmware_load(QUP_0_GSI_BASE);
gpi_firmware_load(QUP_1_GSI_BASE);
gpi_firmware_load(QUP_2_GSI_BASE);
/*
* Load console UART QUP firmware.
* This is required even if coreboot's serial output is disabled.