diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2012-01-16 15:03:11 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-02-03 13:22:20 +0100 |
commit | 56f468d29b4beab59f5a751d8d30364962298328 (patch) | |
tree | 7c6d51eb1c93f6ba01e569fa6862307faf561224 /payloads/libpayload/include | |
parent | da59f9a8fb83e9d3931ed1d9b49eb8915a318771 (diff) |
libpayload: Expose options_checksum_valid
options_checksum_valid can be used as a fast test to
identify invalid CMOS data by checking the checksum.
Change-Id: I44635d4c5d389579ad82435907ba8658e1bd44bb
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/586
Reviewed-by: Bernhard Urban <lewurm@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index dd98404e94..488ad488f8 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -203,6 +203,7 @@ extern u8 *mem_accessor_base; extern struct nvram_accessor *use_nvram, *use_mem; struct cb_cmos_option_table *get_system_option_table(void); +int options_checksum_valid(const struct nvram_accessor *nvram); void fix_options_checksum_with(const struct nvram_accessor *nvram); void fix_options_checksum(void); int get_option_with(const struct nvram_accessor *nvram, struct cb_cmos_option_table *option_table, void *dest, char *name); |