coreboot/src/lib
Julius Werner 9d0cc2aea9 cbfs: Introduce cbfs_ro_map() and cbfs_ro_load()
This patch introduces two new CBFS API functions which are equivalent to
cbfs_map() and cbfs_load(), respectively, with the difference that they
always operate on the read-only CBFS region ("COREBOOT" FMAP section).
Use it to replace some of the simple cases that needed to use
cbfs_locate_file_in_region().

Change-Id: I9c55b022b6502a333a9805ab0e4891dd7b97ef7f
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39306
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-12-03 00:00:19 +00:00
..
gnat lib/gnat/i-c.ads: Add uintptr_t type 2020-11-16 12:13:31 +00:00
asan.c src: Add missing 'include <console/console.h>' 2020-11-17 09:01:14 +00:00
b64_decode.c
boot_device.c
bootblock.c
bootmem.c
bootmode.c
bootsplash.c cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
cb.ads
cbfs.c cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
cbmem_common.c
cbmem_console.c
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
crc_byte.c
decompressor.c
delay.c
device_tree.c
dimm_info_util.c
edid.c lib/edid: Add missing name descriptor presence flag 2020-10-26 13:28:41 +00:00
edid_fill_fb.c
espi_debug.c
ext_stage_cache.c
fallback_boot.c
fit.c
fit_payload.c
fmap.c
fw_config.c cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
gcc.c
gcov-glue.c
gcov-io.c
gcov-io.h
gcov-iov.h
gpio.c
halt.c
hardwaremain.c ACPI S3: Replace acpi_is_wakeup() 2020-11-19 14:48:31 +00:00
hexdump.c
hexstrtobin.c
hw-time-timer.adb
imd.c
imd_cbmem.c
jpeg.c
jpeg.h
Kconfig cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
libgcc.c
libgcov.c
list.c
lzma.c
lzmadecode.c
lzmadecode.h
Makefile.inc lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c
memset.c
nhlt.c
primitive_memtest.c
prog_loaders.c
prog_ops.c
program.ld
ramdetect.c
ramtest.c
reg_script.c lib/reg_script: Add cast to fix compilation on x86_64 2020-12-01 16:00:57 +00:00
region_file.c
reset.c
rmodule.c
rmodule.ld
romstage_handoff.c src: Update some incorrect config options in comments 2020-11-16 12:09:58 +00:00
rtc.c
selfboot.c
spd_bin.c cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
spd_cache.c
stack.c
string.c
thread.c
timer.c
timer_queue.c
timestamp.c
ubsan.c
uuid.c
version.c
wrdd.c