coreboot/src/lib
Patrick Rudolph 71327fbad8 lib/prog_loaders: Store CBFS type in struct prog
Store the type of the loaded program after locating the file and add a
method to retrieve the type.
Will be used to distinguish between SELF and FIT payloads.

Change-Id: Ic226e7e028d722ab9e3c6f7f1c22bde2a1cd8a85
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/26028
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-05-16 20:02:52 +00:00
..
gnat toolchain: Always use GCC for Ada sources 2017-09-23 10:57:40 +00:00
b64_decode.c
boot_device.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
bootblock.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
bootmem.c bootmem: Keep OS memory map separate from the start 2018-05-10 01:24:40 +00:00
bootmode.c
cbfs.c lib/cbfs.c: fix typo 2018-05-02 07:58:23 +00:00
cbmem_common.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
cbmem_console.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +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 compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
debug.c
delay.c
device_tree.c lib/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
dimm_info_util.c src/lib/dimm_info_util.c: Add methods to convert from SMBIOS to SPD 2018-04-11 14:41:59 +00:00
edid.c lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
edid_fill_fb.c lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
ext_stage_cache.c lib/ext_stage_cache: include prog arg in stage cache metadata 2018-04-24 14:39:36 +00:00
fallback_boot.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
fmap.c
gcc.c src/lib: Move asmlinkage before type 2017-03-13 17:21:26 +01:00
gcov-glue.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
gcov-io.c
gcov-io.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
gcov-iov.h
generic_dump_spd.c
generic_sdram.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
gpio.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
halt.c src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
hardwaremain.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
hexdump.c
hexstrtobin.c
hw-time-timer.adb
imd.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
imd_cbmem.c lib/bootmem: Introduce custom bootmem tags 2018-04-30 09:33:49 +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/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
libgcc.c
libgcov.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
list.c lib/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
lzma.c lib/lzma: Respect dstn argument 2018-03-26 10:19:11 +00:00
lzmadecode.c lib/lzmadecode: Add block around UpdateBit1() 2018-04-09 09:44:15 +00:00
lzmadecode.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
Makefile.inc lib/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
malloc.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c lib/memrange: Introduce method to clone memrange 2018-04-11 15:11:04 +00:00
memset.c
nhlt.c lib/nhlt: add support for passing subsystem_id to endpoint's structure 2018-05-09 10:06:04 +00:00
primitive_memtest.c
prog_loaders.c lib/prog_loaders: Store CBFS type in struct prog 2018-05-16 20:02:52 +00:00
prog_ops.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
program.ld lib/program.ld: Guard .id section placement 2017-07-30 00:06:20 +00:00
ramtest.c {device,drivers,lib,mb,nb}: Use only one space after 'if' 2018-05-09 13:11:04 +00:00
reg_script.c lib/reg_script.c: Remove unused assignment 2017-11-03 07:51:56 +00:00
region_file.c
reset.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
rmodule.c stage_cache: Add rmodule params in metadata 2017-09-08 03:17:52 +00:00
rmodule.ld
romstage_handoff.c
romstage_stack.c
rtc.c
selfboot.c lib/bootmem: Add more bootmem tags 2018-05-04 10:05:36 +00:00
spd_bin.c intel/common/smbus: increase spd read performance 2017-10-31 15:49:55 +00:00
stack.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
thread.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
timer.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
timer_queue.c
timestamp.c timestamp: Increase max number of timestamps 2018-05-14 07:37:40 +00:00
trace.c
ubsan.c src/lib/ubsan: Indent macros to improve readability 2017-09-21 19:46:44 +00:00
version.c
wrdd.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00