aboutsummaryrefslogtreecommitdiffstats
path: root/include/cbfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cbfs.h')
-rw-r--r--include/cbfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cbfs.h b/include/cbfs.h
index b8d1dabbf63..742e34e24fb 100644
--- a/include/cbfs.h
+++ b/include/cbfs.h
@@ -91,6 +91,13 @@ extern enum cbfs_result file_cbfs_result;
const char *file_cbfs_error(void);
/**
+ * cbfs_get_result() - Get the result of the last CBFS operation
+ *
+ *@return last result
+ */
+enum cbfs_result cbfs_get_result(void);
+
+/**
* file_cbfs_init() - Initialize the CBFS driver and load metadata into RAM.
*
* @end_of_rom: Points to the end of the ROM the CBFS should be read