coreboot/src/lib
Aaron Durbin fe338e2319 cbfs: switch to region_device for location APIs
Drop struct cbfs_props and replace with struct region_device object.
The goal of the cbfs locator APIs are to determine the correct region
device to find the cbfs files. Therefore, start directly using struct
region_device in the cbfs location paths. Update the users of the API
and leverage the default boot region device implementation for
apollolake.

Change-Id: I0158a095cc64c9900d8738f8ffd45ae4040575ea
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36939
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-11-20 13:27:44 +00:00
..
gnat lib/gnat: Enable -Werror 2019-06-28 08:42:16 +00:00
b64_decode.c src/lib: Add "int" following "unsigned" 2017-03-09 17:24:17 +01:00
boot_device.c boot_device: Constify argument 2019-05-12 07:47:45 +00:00
bootblock.c bootblock: Add TS_START_BOOTBLOCK and TS_END_BOOTBLOCK 2019-11-05 13:42:10 +00:00
bootmem.c lib/bootmem: Correct error message 2019-11-12 18:29:16 +00:00
bootmode.c security/vboot: Remove flags from struct vboot_working_data 2019-11-15 10:37:46 +00:00
bootsplash.c lib/bootsplash: Fix compilation 2019-09-27 16:20:04 +00:00
cb.ads Hook up Kconfig Ada spec file 2019-02-06 16:20:35 +00:00
cbfs.c cbfs: switch to region_device for location APIs 2019-11-20 13:27:44 +00:00
cbmem_common.c arch/x86: Remove acpi_fail_wakeup() and cbmem_fail_resume() 2019-09-14 10:55:34 +00:00
cbmem_console.c src/: Replace some __PRE_RAM__ use 2019-09-14 11:16:17 +00:00
cbmem_stage_cache.c lib/stage_cache: Add save/get raw storage 2018-02-07 16:22:40 +00:00
compute_ip_checksum.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
coreboot_table.c cbfs: switch to region_device for location APIs 2019-11-20 13:27:44 +00:00
crc_byte.c lib: add calculate crc byte by byte 2019-11-06 13:58:53 +00:00
decompressor.c src: Use '#include <timestamp.h>' when needed 2019-07-15 02:26:52 +00:00
delay.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
device_tree.c add ctype.h header 2019-06-24 21:15:14 +00:00
dimm_info_util.c src/*: normalize Google copyright headers 2018-09-28 07:13:00 +00:00
edid.c src: Use 'include <boot/coreboot_tables.h>' when appropriate 2019-10-27 17:48:30 +00:00
edid_fill_fb.c lib/edid: Add suport for display rotation 2019-08-08 03:18:35 +00:00
ext_stage_cache.c buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
fallback_boot.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
fit.c src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00
fit_payload.c lib: Throw an error when ramdisk is present but initrd.size is 0 2019-08-06 20:29:57 +00:00
fmap.c lib/fmap: Disable pre-RAM cache for FSP 1.0 2019-11-19 11:26:21 +00:00
gcc.c src/lib: Move asmlinkage before type 2017-03-13 17:21:26 +01:00
gcov-glue.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gcov-io.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
gcov-io.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
gcov-iov.h Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
generic_dump_spd.c src: Add missing include 'console.h' 2019-04-23 10:00:39 +00:00
gpio.c src: include <assert.h> when appropriate 2019-04-23 10:01:36 +00:00
halt.c src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
hardwaremain.c console,boot_state: Exclude printk() from reported times 2019-11-11 10:31:29 +00:00
hexdump.c src/lib/hexdump: Use size_t for indices 2019-07-23 09:09:22 +00:00
hexstrtobin.c add ctype.h header 2019-06-24 21:15:14 +00:00
hw-time-timer.adb Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
imd.c include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
imd_cbmem.c lib/cbmem: Remove the cbmem_top_init() hook 2019-11-10 15:39:00 +00:00
jpeg.c src/lib: Fix checkpatch warning: no spaces at the start of a line 2017-07-25 14:26:07 +00:00
jpeg.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
Kconfig lib/fmap: Disable pre-RAM cache for FSP 1.0 2019-11-19 11:26:21 +00:00
libgcc.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
libgcov.c {src,util}: Use NULL instead of 0 for pointer 2018-06-11 08:52:08 +00:00
list.c lib/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
lzma.c Split MAYBE_STATIC to _BSS and _NONZERO variants 2019-08-26 20:56:29 +00:00
lzmadecode.c src/{include,arch,cpu,lib}: Add missing 'include <types.h>' 2019-05-29 20:27:18 +00:00
lzmadecode.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
Makefile.inc lib/fmap: Add optional pre-RAM cache 2019-11-14 03:30:11 +00:00
malloc.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
memchr.c Add an implementation for the memchr library function 2012-03-09 20:00:53 +01:00
memcmp.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
memcpy.c fix compiler warnings (trivial) 2009-01-20 21:40:16 +00:00
memmove.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
memrange.c Replace ENV_RAMSTAGE with ENV_PAYLOAD_LOADER 2019-06-24 04:33:06 +00:00
memset.c fix compiler warnings (trivial) 2009-01-20 21:40:16 +00:00
nhlt.c lib/nhlt: Use common function to set NHLT version 2018-08-27 15:54:34 +00:00
primitive_memtest.c src: Include <stdint.h> instead of <inttypes.h> 2019-08-10 01:33:58 +00:00
prog_loaders.c cbfs: remove prepare() callback from struct cbfs_locator 2019-11-15 11:03:13 +00:00
prog_ops.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
program.ld src/: Replace some __PRE_RAM__ use 2019-09-14 11:16:17 +00:00
ramdetect.c lib: ramdetect: Register exception handlers for ARMv8 2019-08-26 07:14:03 +00:00
ramtest.c Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
reg_script.c src/: Replace some __PRE_RAM__ use 2019-09-14 11:16:17 +00:00
region_file.c region: add rdev_chain_full() 2019-11-11 10:27:47 +00:00
reset.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
rmodule.c src: Remove unneeded include <lib.h> 2018-11-16 09:50:51 +00:00
rmodule.ld src: Fix typo 2018-08-10 21:25:53 +00:00
romstage_handoff.c buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
rtc.c rtc: Fix rtc_calc_weekday 2019-02-27 11:07:11 +00:00
selfboot.c src/lib/selfboot: Remove unused variables 2019-04-25 15:55:21 +00:00
spd_bin.c lib/spd_bin: Extend DDR4 spd information 2019-09-09 13:30:10 +00:00
stack.c symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
string.c string: implement strspn, strcspn, atol 2019-08-10 01:32:19 +00:00
thread.c src: Use #include <timer.h> when appropriate 2019-04-06 16:02:49 +00:00
timer.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
timer_queue.c src/lib: Fix spacing 2017-03-13 17:16:08 +01:00
timestamp.c timestamps: Remove TIMESTAMP_CACHE_IN_BSS 2019-09-13 19:48:26 +00:00
trace.c src/lib: Fix checkpatch warnings 2016-09-07 22:28:00 +02:00
ubsan.c complier.h: add __noreturn and use it in code base 2018-09-10 15:02:51 +00:00
uuid.c lib/uuid: Add UUID parsing function 2019-11-01 11:38:22 +00:00
version.c ACPI: Correct asl_compiler_revision value 2019-02-21 19:07:31 +00:00
wrdd.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00