diff options
author | Aaron Durbin <adurbin@chromium.org> | 2020-05-26 16:16:42 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-05-28 19:33:48 +0000 |
commit | 84f394e9c0cd9a82948f0027a76c8b41b14a11bc (patch) | |
tree | ef5960aa2a19ec01d8c35ba2917c0ec94e7df170 /src/drivers/intel/mipi_camera | |
parent | 3b8284f37a20ce47d89f37bb22d1f312da4f40eb (diff) | |
download | coreboot-84f394e9c0cd9a82948f0027a76c8b41b14a11bc.tar.xz |
lib/cbfs: add cbfs_stage_load_and_decompress helper
The LZ4 compressed stages assume in-place decompression. The constraints
are validated in cbfstool for _stages_ such that they can be decompressed
in place. However, that is only true for stages. As such, add a wrapper,
cbfs_stage_load_and_decompress(), that handles the LZ4 stage loading case.
BUG=b:155322763,b:150746858,b:152909132
Change-Id: I9525a266250aa6c775283b598c09d4f40692db55
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41755
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/mipi_camera')
0 files changed, 0 insertions, 0 deletions