diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rollback.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rollback.h b/include/rollback.h index 7221691c1f..d9d79eb67d 100644 --- a/include/rollback.h +++ b/include/rollback.h @@ -27,6 +27,13 @@ int rollback_get_minimum_version(void); */ int rollback_update(int32_t next_min_version); +/** + * Lock rollback protection block, reboot if necessary. + * + * @return EC_SUCCESS if rollback was already protected. + */ +int rollback_lock(void); + #endif #endif /* __CROS_EC_ROLLBACK_H */ |