coreboot/src
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
..
acpi arch/x86: Add common AMD ACPI hardware definitions 2017-11-10 19:15:38 +00:00
arch pci: Fix compilation on non x86 2018-05-14 13:53:30 +00:00
commonlib cbfs_locate: Optionally return file type 2018-05-14 21:54:15 +00:00
console console: Skip non-BSP printk() earlier 2018-05-09 05:21:21 +00:00
cpu cpu/x86: Add support to run function with argument over APs 2018-05-14 08:39:42 +00:00
device devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
drivers drivers/pc80/tpm: get ioport from pnp records 2018-05-13 10:16:24 +00:00
ec ec/google/chromeec: add config for wake event types 2018-05-08 14:16:15 +00:00
include cpu/x86: Add support to run function with argument over APs 2018-05-14 08:39:42 +00:00
lib timestamp: Increase max number of timestamps 2018-05-14 07:37:40 +00:00
mainboard mb/scaleway/tagada: Update gpio configuration to use intelblock 2018-05-14 21:03:28 +00:00
northbridge nb/intel/x4x/raminit: DDR3 specific ODT 2018-05-14 08:30:51 +00:00
security security/vboot: Remove redundent _verstage/_everstage/_verstage_size symbols 2018-05-14 16:24:28 +00:00
soc soc/intel/denverton_ns: Enable common code for CPU 2018-05-14 21:03:43 +00:00
southbridge agesa/hudson/southbridge: add acpi name reporting for lpc 2018-05-14 07:39:08 +00:00
superio superio/nuvoton: Add support for NPCD378 2018-05-14 12:39:20 +00:00
vendorcode AGESA f14: Remove OPTION_DDR2 2018-05-10 17:54:39 +00:00
Kconfig Timestamps: Add option to print timestamps to debug console 2018-03-09 17:16:21 +00:00