summaryrefslogtreecommitdiff
path: root/include/host_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/host_command.h')
-rw-r--r--include/host_command.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h
index 231ef9a6b8..a25f06d10a 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -227,4 +227,14 @@ int pd_host_command(int command, int version,
const void *outdata, int outsize,
void *indata, int insize);
+
+/**
+ * EC: Get verify boot mode
+ * @return vboot_mode as the following:
+ * VBOOT_MODE_NORMAL - normal mode
+ * VBOOT_MODE_DEVELOPER - developer mode
+ * VBOOT_MODE_RECOVERY - recovery mode
+ */
+int host_get_vboot_mode(void);
+
#endif /* __CROS_EC_HOST_COMMAND_H */