coreboot/src
Julius Werner 71885a4960 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>
2016-08-27 01:16:16 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/riscv: Add functions to read/write memory on behalf of supervisor/user mode 2016-08-23 23:48:54 +02:00
commonlib commonlib: cbfs: Add CBFS attribute support 2016-08-27 01:16:16 +02:00
console console: Add write line routine 2016-08-10 22:30:19 +02:00
cpu src/cpu: Capitalize CPU, APIC and IOAPIC typo fix 2016-08-23 15:43:58 +02:00
device src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
drivers vboot: consolidate google_chromeec_early_init() calls 2016-08-25 22:50:17 +02:00
ec google/chromeec: Ensure data is ready before reading it 2016-08-20 10:48:37 +02:00
include memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-23 21:33:29 +02:00
lib memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-23 21:33:29 +02:00
mainboard lenovo/x200,t400: enable C4 cpu low power state 2016-08-27 00:15:41 +02:00
northbridge src/northbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:43:27 +02:00
soc soc/intel/apollolake: Enable ELOG 2016-08-25 23:51:27 +02:00
southbridge sb/amd/sb700: Add option to increase SPI speed to 33MHz 2016-08-26 18:22:33 +02:00
superio superio/*: Relocate Kconfig to chip folder. 2016-08-09 10:38:30 +02:00
vboot vboot: consolidate google_chromeec_early_init() calls 2016-08-25 22:50:17 +02:00
vendorcode drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
Kconfig arch/riscv: Print the page table structure after construction 2016-08-23 16:04:55 +02:00