coreboot/src
Julius Werner c6fd5e9b00 UPSTREAM: 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.

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: I7b6463597757122cfe84f006c946a1658bb3acc6
Reviewed-on: https://chromium-review.googlesource.com/377605
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-01 19:52:43 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/riscv: Add functions to read/write memory on behalf of supervisor/user mode 2016-08-24 17:40:20 -07:00
commonlib UPSTREAM: commonlib: cbfs: Add CBFS attribute support 2016-09-01 19:52:43 -07:00
console UPSTREAM: console: Add write line routine 2016-08-14 19:50:25 -07:00
cpu UPSTREAM: src/cpu: Capitalize CPU, APIC and IOAPIC typo fix 2016-08-23 15:36:15 -07:00
device UPSTREAM: src/device: Capitalize CPU, RAM and ROM 2016-08-04 23:37:13 -07:00
drivers UPSTREAM: vboot: consolidate google_chromeec_early_init() calls 2016-08-28 03:15:02 -07:00
ec UPSTREAM: google/chromeec: Ensure data is ready before reading it 2016-08-22 23:26:37 -07:00
include UPSTREAM: memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-24 17:40:09 -07:00
lib Provide CAR decoration for tpm2 statics 2016-08-24 17:40:55 -07:00
mainboard UPSTREAM: lenovo/x200,t400: enable C4 cpu low power state 2016-09-01 05:02:31 -07:00
northbridge UPSTREAM: src/northbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:36:13 -07:00
soc rockchip/rk3399: Add pwm_regulator.c for pwm then ramp boot up cpu 2016-08-28 16:33:41 -07:00
southbridge UPSTREAM: sb/amd/sb700: Add option to increase SPI speed to 33MHz 2016-08-28 03:15:11 -07:00
superio UPSTREAM: superio/*: Relocate Kconfig to chip folder. 2016-08-14 13:26:19 -07:00
vboot vboot/vbnv_flash: Binary search to find last used entry 2016-09-01 05:02:33 -07:00
vendorcode UPSTREAM: drivers/elog: use region_device for NV storage 2016-08-22 00:11:48 -07:00
Kconfig UPSTREAM: arch/riscv: Print the page table structure after construction 2016-08-23 15:36:25 -07:00