summaryrefslogtreecommitdiff
path: root/include/ap_ro_integrity_check.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ap_ro_integrity_check.h')
-rw-r--r--include/ap_ro_integrity_check.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ap_ro_integrity_check.h b/include/ap_ro_integrity_check.h
index 365bccbe8e..0edc477c88 100644
--- a/include/ap_ro_integrity_check.h
+++ b/include/ap_ro_integrity_check.h
@@ -6,6 +6,8 @@
#ifndef __CR50_INCLUDE_AP_RO_INTEGRITY_CHECK_H
#define __CR50_INCLUDE_AP_RO_INTEGRITY_CHECK_H
+#include "flash_log.h"
+
/*
* validate_ap_ro: based on information saved in an H1 RO flash page verify
* contents of the AP flash.
@@ -19,4 +21,10 @@
*/
int validate_ap_ro(void);
+/*
+ * ap_ro_add_flash_event: add a flash log event to keep track of AP RO
+ * verification attempt progress.
+ */
+void ap_ro_add_flash_event(enum ap_ro_verification_ev event);
+
#endif /* ! __CR50_INCLUDE_AP_RO_INTEGRITY_CHECK_H */