summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/ppi
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-05-26 16:16:42 -0600
committerAaron Durbin <adurbin@chromium.org>2020-05-28 19:33:48 +0000
commit84f394e9c0cd9a82948f0027a76c8b41b14a11bc (patch)
treeef5960aa2a19ec01d8c35ba2917c0ec94e7df170 /src/drivers/intel/fsp2_0/ppi
parent3b8284f37a20ce47d89f37bb22d1f312da4f40eb (diff)
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/fsp2_0/ppi')
0 files changed, 0 insertions, 0 deletions