diff options
author | Julius Werner <jwerner@chromium.org> | 2016-08-19 15:24:54 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2016-08-27 01:16:16 +0200 |
commit | 71885a49600db1df58060406c0bb8a5b976c554c (patch) | |
tree | 53ef1292e7659e99a43c33cf6f1dfa7a4f734eaa /src/vendorcode/amd/agesa | |
parent | 2a1847ea125b4b867f435635173acb39c9d75292 (diff) |
commonlib: cbfs: Add CBFS attribute support
This patch adds support for the CBFS attributes that were already
introduced in cbfstool and libpayload. I'm only copy&pasting the header
definitions needed for this once more. Really, we should be unifying the
definitions (and possibly part of the code) from cbfstool with
commonlib, but apparently that hadn't been done when this feature was
introduced and I don't really have time to do it cleanly now.
Also add a function to extract info from the compression attribute,
which can then be used to run cbfs_load_and_decompress() on the file.
Change-Id: I7b6463597757122cfe84f006c946a1658bb3acc6
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16271
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/vendorcode/amd/agesa')
0 files changed, 0 insertions, 0 deletions