coreboot-kgpe-d16/payloads/libpayload/include
Jakub Czapiga f7d6eb2fef libpayload: Add boot_device_read() function
This patch adds a new way of implementing flash access for libpayload.
Until now all reads had to be performed using cbfs_media, which is
obsolete. From now on all reads should be performed using
boot_device_read().

This patch also provides a default implementation of boot_device_read()
for x86 architecture.

Change-Id: I1babd2a8414ed9de3ca49903fcb4f036997b5ff3
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59492
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2021-12-10 17:56:34 +00:00
..
arm/arch libpayload: Use volatile pointers in {read,write}{8,16,32,64} 2021-02-20 17:01:09 +00:00
arm64/arch libpayload: Use volatile pointers in {read,write}{8,16,32,64} 2021-02-20 17:01:09 +00:00
arpa
mock/arch tests: Move x86 I/O functions to include/mock/arch/io.h 2021-11-04 15:07:38 +00:00
pci libpayload/storage: Add NVMe driver 2021-04-07 10:58:04 +00:00
storage libpayload/storage: Add NVMe driver 2021-04-07 10:58:04 +00:00
sys
udc
usb libpayload/usb: Add format string checking to usb_debug 2020-11-22 22:34:55 +00:00
x86/arch libpayload/x86: Add enumeration of Intel family 6 models 2020-11-02 06:24:10 +00:00
archive.h
assert.h libpayload: Add mock assert support for unit testing purposes 2021-11-23 23:38:15 +00:00
boot_device.h libpayload: Add boot_device_read() function 2021-12-10 17:56:34 +00:00
cbfs.h
cbfs_core.h libpayload: Add compiler.h to compiler parameters 2020-11-08 11:37:04 +00:00
cbfs_ram.h
cbgfx.h libpayload: cbgfx: Support buffered I/O 2020-08-28 21:40:58 +00:00
compiler.h libpayload: Replace include/compiler.h with commonlib/bsd's version 2020-07-28 16:16:21 +00:00
coreboot_tables.h libpayload: Add CBMEM_IMD_ENTRY support to coreboot tables parser 2021-12-03 16:51:41 +00:00
ctype.h payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
die.h
endian.h
errno.h
exception.h
fmap_serialized.h
fpmath.h
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h device/mmio: Make buffer_to_fifo32() take a const buffer 2021-09-20 12:07:51 +00:00
limits.h includes: Define `CHAR_BIT` in `limits.h` 2021-06-18 04:38:33 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
stdarg.h
stdbool.h libpayload: Add <stdbool.h> 2020-10-26 06:57:06 +00:00
stddef.h includes: Provide `wchar.h` with `wchar_t` and `wint_t` 2021-06-18 04:38:16 +00:00
stdint.h
stdio.h
stdlib.h includes: Move *abs() declarations into `stdlib.h` 2021-06-18 04:39:26 +00:00
string.h payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
strings.h
sysinfo.h libpayload: Add CBMEM_IMD_ENTRY support to coreboot tables parser 2021-12-03 16:51:41 +00:00
term.h
time.h
unistd.h
video_console.h
wchar.h includes: Provide `wchar.h` with `wchar_t` and `wint_t` 2021-06-18 04:38:16 +00:00