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>
|
||
|---|---|---|
| .. | ||
| gnat | ||
| asan.c | ||
| b64_decode.c | ||
| boot_device.c | ||
| bootblock.c | ||
| bootmem.c | ||
| bootmode.c | ||
| bootsplash.c | ||
| cb.ads | ||
| cbfs.c | ||
| cbmem_common.c | ||
| cbmem_console.c | ||
| cbmem_stage_cache.c | ||
| compute_ip_checksum.c | ||
| coreboot_table.c | ||
| crc_byte.c | ||
| decompressor.c | ||
| delay.c | ||
| device_tree.c | ||
| dimm_info_util.c | ||
| edid.c | ||
| edid_fill_fb.c | ||
| espi_debug.c | ||
| ext_stage_cache.c | ||
| fallback_boot.c | ||
| fit.c | ||
| fit_payload.c | ||
| fmap.c | ||
| fw_config.c | ||
| gcc.c | ||
| gcov-glue.c | ||
| gcov-io.c | ||
| gcov-io.h | ||
| gcov-iov.h | ||
| gpio.c | ||
| halt.c | ||
| hardwaremain.c | ||
| hexdump.c | ||
| hexstrtobin.c | ||
| hw-time-timer.adb | ||
| imd.c | ||
| imd_cbmem.c | ||
| jpeg.c | ||
| jpeg.h | ||
| Kconfig | ||
| libgcc.c | ||
| libgcov.c | ||
| list.c | ||
| lzma.c | ||
| lzmadecode.c | ||
| lzmadecode.h | ||
| Makefile.inc | ||
| 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 | ||
| region_file.c | ||
| reset.c | ||
| rmodule.c | ||
| rmodule.ld | ||
| romstage_handoff.c | ||
| rtc.c | ||
| selfboot.c | ||
| spd_bin.c | ||
| spd_cache.c | ||
| stack.c | ||
| string.c | ||
| thread.c | ||
| timer.c | ||
| timer_queue.c | ||
| timestamp.c | ||
| ubsan.c | ||
| uuid.c | ||
| version.c | ||
| wrdd.c | ||