coreboot-kgpe-d16/src/include
Aaron Durbin 37a5d15da9 cbfs: add struct cbfsf
Now that cbfs is adding more metadata in the cbfs file
header one needs to access that metadata. Therefore,
add struct cbfsf which tracks the metadata and data
of the file separately. Note that stage and payload
metadata specific to itself is still contained within
the 'data' portion of a cbfs file. Update the cbfs
API to use struct cbfsf. Additionally, remove struct
cbfsd as there's nothing else associated with a cbfs
region aside from offset and size which tracked
by a region_device (thanks, CBFS_ALIGNMENT!).

BUG=None
BRANCH=None
TEST=Built and booted through end of ramstage on qemu armv7.
     Built and booted glados using Chrome OS.

Change-Id: I05486c6cf6cfcafa5c64b36324833b2374f763c2
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11679
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-10-07 10:46:11 +00:00
..
boot coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
console Add EM100 'hyper term' spi console support in ramstage & smm 2015-10-05 17:43:11 +00:00
cpu symbols: add '_' to pci_drivers and cpu_drivers symbols 2015-09-05 15:36:23 +00:00
device AMD Bettong: Fix usb device in devicetree for Carrizo 2015-09-30 07:00:24 +00:00
pc80 Verify Kconfigs symbols are not zero for hex and int type symbols 2015-07-12 19:06:44 +02:00
smp
superio Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
tpm_lite vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
antirollback.h chromeos: vboot2: Add TPM PCR extension support 2015-04-20 17:06:28 +02:00
assert.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
assets.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
b64_decode.h lib: add base64 decoder 2015-04-22 08:50:54 +02:00
base3.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
bcd.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
boardid.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
boot_device.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
bootmem.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
bootmode.h chromeos: vboot and chromeos dependency removal for sw write protect state 2015-09-23 19:35:31 +00:00
bootstate.h bootstate: remove need for #ifdef ENV_RAMSTAGE 2015-09-04 21:01:58 +00:00
cbfs.h cbfs: add struct cbfsf 2015-10-07 10:46:11 +00:00
cbmem.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
delay.h timer: Reestablish init_timer(), consolidate timer initialization calls 2015-04-14 09:03:28 +02:00
edid.h edid: add function to manually specify mode 2015-08-28 06:42:25 +00:00
elog.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
endian.h endian: fix le64toh() 2015-09-11 05:20:03 +00:00
fallback.h cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
fmap.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
gic.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
gpio.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
halt.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
imd.h coreboot: tiered imd 2015-04-22 17:54:50 +02:00
inttypes.h
ip_checksum.h
kconfig.h
lib.h lib/hexdump: Add xxd hint 2015-07-22 18:57:15 +02:00
memlayout.h rmodule: use program.ld for linking 2015-09-09 19:35:30 +00:00
memory_info.h smbios: add funtion for smbios type17 2015-03-27 09:55:21 +01:00
memrange.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
option.h
program_loading.h assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
reg_script.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
reset.h vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
rmodule.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
romstage_handoff.h Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
rtc.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
rules.h rmodule: use program.ld for linking 2015-09-09 19:35:30 +00:00
sdram_mode.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
smbios.h intel/common: Add SMBIOS memory width 2015-07-23 16:41:56 +02:00
spd.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
spd_cache.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
spd_ddr2.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
spi-generic.h Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
spi_flash.h Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
stage_cache.h stage_cache: make prog const in stage_cache_add() 2015-08-14 15:17:58 +02:00
stddef.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
stdlib.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
string.h
swab.h
symbols.h linking: lay the groundwork for a unified linking approach 2015-09-09 19:34:37 +00:00
thread.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
timer.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
timestamp.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
tpm.h Move TPM code out of chromeos 2015-05-27 22:23:05 +02:00
trace.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
types.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
vbe.h
version.h build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00
watchdog.h