diff options
Diffstat (limited to 'chip/g/system_chip.h')
-rw-r--r-- | chip/g/system_chip.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chip/g/system_chip.h b/chip/g/system_chip.h index 4d6b3ec7c9..251c2d3007 100644 --- a/chip/g/system_chip.h +++ b/chip/g/system_chip.h @@ -57,4 +57,15 @@ int system_battery_cutoff_support_required(void); */ void system_update_rollback_mask(void); +/* + ** + * Scan INFO1 rollback map and infomap fields of both RW and RW_B image + * headers, and return a string showing how many zeros are there at the base + * of in each of these objects. + * + * The passed in parameters are the memory area to put the string in and the + * size of this memory area. + */ +void system_get_rollback_bits(char *value, size_t value_size); + #endif /* __CROS_EC_SYSTEM_CHIP_H */ |