coreboot/src
Sudheer Kumar Amrabadi 0d30a86aaa soc/qualcomm/common/qup: Avoid double decompress of gsi_fw blob
During boot, gpi_firmware_load gets called twice because there are
2 serial engines. Thus gsi_fw blob is also decompressed twice and is
written to base addresses of SEs. This is redundant.

Perform the decompression once on first call and save the header
in static variable which can be reused in next call.

BUG=b:262426214
TEST=Validated on qualcomm sc7280 development board
     Saving of 80ms observed while testing with 130 boot cycles.

Change-Id: If98a3974f0791dffdf675c02cc28375d0485c485
Signed-off-by: Vijaya Nivarthi <vnivarth@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71927
Reviewed-by: Shelley Chen <shchen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-02-01 18:47:54 +00:00
..
acpi acpi/acpigen: introduce acpigen_write_processor_device 2023-01-31 17:35:42 +00:00
arch treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
commonlib commonlib/storage: Add common eMMC functions 2023-01-16 00:33:11 +00:00
console console: Print architecture 2023-01-31 15:26:16 +00:00
cpu treewide: Remove unused <cpu/amd/msr.h> 2023-01-09 21:17:08 +00:00
device treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
drivers treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
ec ec/google/wilco/acpi: Add DPTF RCDP() method 2023-02-01 14:59:44 +00:00
include acpi/acpigen: introduce acpigen_write_processor_device 2023-01-31 17:35:42 +00:00
lib treewide: stop calling custom TPM log "TCPA" 2023-01-11 16:00:55 +00:00
mainboard mb/google/brya/var/omnigul: Add memory config 2023-02-01 14:59:38 +00:00
northbridge treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
sbom src/sbom: Add code documentation + fix misspelling 2023-01-31 15:20:51 +00:00
security security/vboot: Check RW_NVRAM at buildtime 2023-01-13 08:25:33 +00:00
soc soc/qualcomm/common/qup: Avoid double decompress of gsi_fw blob 2023-02-01 18:47:54 +00:00
southbridge treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
superio {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
vendorcode vendorcode: Add VariableFormat.h 2023-01-31 16:45:29 +00:00
Kconfig Kconfig: Add option to compress ramstage with LZ4 2023-01-08 01:20:15 +00:00