coreboot/src
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
..
acpi cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
arch cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
commonlib cbfs: Port cbfs_load() and cbfs_map() to new API 2020-12-02 22:13:42 +00:00
console lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
cpu cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
device device: Drop unused HyperTransport code 2020-11-25 09:11:46 +00:00
drivers cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
ec ec/google/chromeec/acpi: Make OperationRegion brace align 2020-12-01 08:00:23 +00:00
include cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
lib cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
mainboard mb/google/brya: Add GPIO stubs 2020-12-02 23:00:36 +00:00
northbridge cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
security cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
soc cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
southbridge soc/amd/common: introduce SOC_AMD_COMMON_BLOCK_PCI_MMCONF 2020-11-30 16:27:52 +00:00
superio superio/smsc/sio1036: Support 16-bit IO port addressing 2020-11-18 13:12:11 +00:00
vendorcode cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
Kconfig lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00