diff options
author | Sudheer Kumar Amrabadi <samrabad@codeaurora.org> | 2023-01-16 08:48:15 +0530 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2023-02-01 18:47:54 +0000 |
commit | 0d30a86aaa707badebe84c19606bff721a480ebf (patch) | |
tree | 429072934a63c92894690e476bbc998c4d2b97fc /LICENSES | |
parent | 67efe443b1665b2e93962e6bfb468e87190a73c5 (diff) |
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>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions