diff options
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index f3d5b035d6..1385c4d006 100644 --- a/include/system.h +++ b/include/system.h @@ -173,6 +173,16 @@ const char *system_get_chip_name(void); const char *system_get_chip_revision(void); /** + * Get/Set VbNvContext in non-volatile storage. The block should be 16 bytes + * long, which is the current size of VbNvContext block. + * + * @param block Pointer to a buffer holding VbNvContext. + * @return 0 on success, !0 on error. + */ +int system_get_vbnvcontext(uint8_t *block); +int system_set_vbnvcontext(const uint8_t *block); + +/** * Put the EC in hibernate (lowest EC power state). * * @param seconds Number of seconds to hibernate. |