aboutsummaryrefslogtreecommitdiff
path: root/src/include/cbfs.h
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-08-11 18:20:11 -0700
committerPatrick Georgi <patrick@coreboot.org>2021-12-06 12:36:45 +0000
commit9f37647b0486e2a2566bf39ea39992cc20123354 (patch)
tree51bf699990537ee89c7c16ab6f4df50bb59a684d /src/include/cbfs.h
parentb88d845c5657537f0e844ae461b42ab21bec1d42 (diff)
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>
Diffstat (limited to 'src/include/cbfs.h')
-rw-r--r--src/include/cbfs.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/include/cbfs.h b/src/include/cbfs.h
index 6c79625f72..5731d6efd8 100644
--- a/src/include/cbfs.h
+++ b/src/include/cbfs.h
@@ -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>
@@ -190,16 +190,6 @@ cb_err_t cbfs_init_boot_device(const struct cbfs_boot_device *cbd,
/**********************************************************************************************
- * 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. *
**********************************************************************************************/
cb_err_t _cbfs_boot_lookup(const char *name, bool force_ro,