cbfs: Remove deprecated APIs
This patch removes all remaining pieces of the old CBFS API, now that the last straggling use cases of it have been ported to the new one (meaning cbfs_map()/cbfs_load()/etc... see CB:39304 and CB:38421). Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I1cec0ca2d9d311626a087318d1d78163243bfc3c Reviewed-on: https://review.coreboot.org/c/coreboot/+/59682 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
parent
b88d845c56
commit
9f37647b04
9 changed files with 5 additions and 483 deletions
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include <cbmem.h>
|
||||
#include <commonlib/bsd/cbfs_mdata.h>
|
||||
#include <commonlib/cbfs.h>
|
||||
#include <commonlib/mem_pool.h>
|
||||
#include <commonlib/region.h>
|
||||
#include <endian.h>
|
||||
#include <program_loading.h>
|
||||
#include <types.h>
|
||||
#include <vb2_sha.h>
|
||||
|
|
@ -189,16 +189,6 @@ cb_err_t cbfs_init_boot_device(const struct cbfs_boot_device *cbd,
|
|||
struct vb2_hash *metadata_hash);
|
||||
|
||||
|
||||
/**********************************************************************************************
|
||||
* LEGACY APIs, TO BE DEPRECATED/REPLACED *
|
||||
**********************************************************************************************/
|
||||
|
||||
/* Locate file by name and optional type. Return 0 on success. < 0 on error. */
|
||||
int cbfs_boot_locate(struct cbfsf *fh, const char *name, uint32_t *type);
|
||||
/* Locate file in a specific region of fmap. Return 0 on success. < 0 on error*/
|
||||
int cbfs_locate_file_in_region(struct cbfsf *fh, const char *region_name,
|
||||
const char *name, uint32_t *type);
|
||||
|
||||
/**********************************************************************************************
|
||||
* INTERNAL HELPERS FOR INLINES, DO NOT USE. *
|
||||
**********************************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue