summaryrefslogtreecommitdiff
path: root/include/ec_comm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ec_comm.h')
-rw-r--r--include/ec_comm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ec_comm.h b/include/ec_comm.h
index 263d311e63..dee31df4be 100644
--- a/include/ec_comm.h
+++ b/include/ec_comm.h
@@ -42,4 +42,9 @@ void ec_efs_refresh(void);
/* print EC-EFS status */
void ec_efs_print_status(void);
+#ifdef BOARD_HOST
+/* return the current boot mode. For test purpose only. */
+uint8_t ec_efs_get_boot_mode(void);
+#endif
+
#endif /* __CROS_EC_COMM_H */