coreboot-kgpe-d16/src/commonlib
Ronald G. Minnich 60fd684698 cbfs_locate: Optionally return file type
In some cases callers want to know if a file
exists and, if so, what its type is.

Modify cbfs_locate so that if the pointer is non-NULL,
but has the value 0, the type of the file that
matches the name will be returned.

Change-Id: Ic1349d358c3054207ccbccf3825db56784327ad0
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/26279
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2018-05-14 21:54:15 +00:00
..
include/commonlib timestamp: Add timestamps for TPM communication 2018-05-13 10:08:42 +00:00
storage compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
Makefile.inc commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
cbfs.c cbfs_locate: Optionally return file type 2018-05-14 21:54:15 +00:00
fsp_relocate.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
iobuf.c commonlib: add input and output buffer helpers 2017-04-24 19:06:50 +02:00
lz4.c.inc cbfs: Add LZ4 in-place decompression support for pre-RAM stages 2016-02-22 21:38:37 +01:00
lz4_wrapper.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c commonlib/region: expose subregion helper function 2017-12-15 23:35:05 +00:00