summaryrefslogtreecommitdiff
path: root/host/include/crossystem_vbnv.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/crossystem_vbnv.h')
-rw-r--r--host/include/crossystem_vbnv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/host/include/crossystem_vbnv.h b/host/include/crossystem_vbnv.h
index 64b6b1d6..d61506c2 100644
--- a/host/include/crossystem_vbnv.h
+++ b/host/include/crossystem_vbnv.h
@@ -15,6 +15,20 @@ extern "C" {
struct vb2_context;
/**
+ * Attempt to read non-volatile storage using flashrom.
+ *
+ * Returns 0 if success, non-zero if error.
+ */
+int vb2_read_nv_storage_flashrom(struct vb2_context *ctx);
+
+/**
+ * Attempt to write non-volatile storage using flashrom.
+ *
+ * Returns 0 if success, non-zero if error.
+ */
+int vb2_write_nv_storage_flashrom(struct vb2_context* ctx);
+
+/**
* Attempt to read non-volatile storage using mosys.
*
* Returns 0 if success, non-zero if error.