diff options
Diffstat (limited to 'include/ap_ro_integrity_check.h')
-rw-r--r-- | include/ap_ro_integrity_check.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ap_ro_integrity_check.h b/include/ap_ro_integrity_check.h index 30181289e6..b07e4b71c7 100644 --- a/include/ap_ro_integrity_check.h +++ b/include/ap_ro_integrity_check.h @@ -8,6 +8,12 @@ #include "flash_log.h" +enum ap_ro_status { + AP_RO_NOT_RUN = 0, + AP_RO_PASS, + AP_RO_FAIL, + AP_RO_UNSUPPORTED, +}; /* * validate_ap_ro: based on information saved in an H1 RO flash page verify * contents of the AP flash. @@ -33,4 +39,9 @@ void ap_ro_add_flash_event(enum ap_ro_verification_ev event); */ int ap_ro_board_id_blocked(void); +/* + * ap_ro_device_reset: Clear AP RO verification state on a new boot. + */ +void ap_ro_device_reset(void); + #endif /* ! __CR50_INCLUDE_AP_RO_INTEGRITY_CHECK_H */ |