aboutsummaryrefslogtreecommitdiff
path: root/src/include/cbfs.h
diff options
context:
space:
mode:
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,