coreboot-kgpe-d16/payloads/libpayload/include
Patrick Rudolph 7ee05eddf1 util/cbfstool: Support FIT payloads
In order to support booting a GNU/Linux payload on non x86, the FIT format
should be used, as it is the defacto standard on ARM.
Due to greater complexity of FIT it is not converted to simple ELF format.

Add support for autodecting FIT payloads and add them as new CBFS_TYPE 'fit'.
The payload is included as is, with no special header.
The code can determine the type at runtime using the CBFS_TYPE field.
Support for parsing FIT payloads in coreboot is added in a follow on
commit.
Compression of FIT payloads is not supported, as the FIT sections might be
compressed itself.

Starting at this point a CBFS payload/ can be either of type FIT or SELF.

Tested on Cavium SoC.

Change-Id: Ic5fc30cd5419eb76c4eb50cca3449caea60270de
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25860
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2018-06-15 09:13:24 +00:00
..
arm/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
arm64/arch libpayload: Add raw_read_ functions 2018-05-01 23:34:03 +00:00
arpa
mips/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
pci libpayload: Add pci_free_dev() and some boilerplate 2017-12-07 21:51:24 +00:00
storage
sys
udc
usb Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
x86/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
archive.h
assert.h
cbfs.h
cbfs_core.h util/cbfstool: Support FIT payloads 2018-06-15 09:13:24 +00:00
cbfs_ram.h
cbgfx.h detachables: Add invert parameter 2017-05-25 18:23:56 +02:00
compiler.h add __must_check to */compiler.h 2017-08-08 18:18:03 +00:00
coreboot_tables.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
ctype.h
die.h
endian.h endian: Fix bebitenc() to actually encode big-endian 2017-11-06 20:46:37 +00:00
errno.h
exception.h
fmap_serialized.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h libpayload-x86: Export keyboard modifiers 2018-05-31 15:31:47 +00:00
limits.h
lz4.h
lzma.h
malloc.h
multiboot_tables.h libpayload: multiboot - support meminfo flag 2017-02-17 18:20:38 +01:00
panel.h
pci.h
queue.h libpayload/include/queue.h: Remove trailing whitespace 2018-04-27 09:11:16 +00:00
stdarg.h
stddef.h libpayload: add *SECS_PER_SEC macros to stddef.h 2017-08-14 18:06:33 +00:00
stdint.h
stdio.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
stdlib.h libpayload: Move GDB functions to stdlib.h 2018-04-19 20:39:29 +00:00
string.h
strings.h
swab.h
sysinfo.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
term.h
time.h libpayload: add time() 2017-08-21 16:53:20 +00:00
unistd.h
video_console.h