summaryrefslogtreecommitdiff
path: root/src/vboot/vboot_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot/vboot_common.h')
-rw-r--r--src/vboot/vboot_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vboot/vboot_common.h b/src/vboot/vboot_common.h
index d64b5bb007..59fd44ca30 100644
--- a/src/vboot/vboot_common.h
+++ b/src/vboot/vboot_common.h
@@ -23,6 +23,9 @@
/* Locate vboot area by name. Returns 0 on success and -1 on error. */
int vboot_named_region_device(const char *name, struct region_device *rdev);
+/* Like vboot_named_region_device() but provides a RW region device. */
+int vboot_named_region_device_rw(const char *name, struct region_device *rdev);
+
/*
* Function to check if there is a request to enter recovery mode. Returns
* reason code if request to enter recovery mode is present, otherwise 0.