| 1 |
|
| 2 |
|
| 3 |
#ifndef __VBOOT_VBNV_H__ |
| 4 |
#define __VBOOT_VBNV_H__ |
| 5 |
|
| 6 |
#include <types.h> |
| 7 |
|
| 8 |
|
| 9 |
void read_vbnv(uint8_t *vbnv_copy); |
| 10 |
void save_vbnv(const uint8_t *vbnv_copy); |
| 11 |
int verify_vbnv(uint8_t *vbnv_copy); |
| 12 |
void regen_vbnv_crc(uint8_t *vbnv_copy); |
| 13 |
|
| 14 |
|
| 15 |
int vbnv_udc_enable_flag(void); |
| 16 |
|
| 17 |
|
| 18 |
void vbnv_init(void); |
| 19 |
|
| 20 |
void vbnv_reset(uint8_t *vbnv_copy); |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
void vbnv_init_cmos(uint8_t *vbnv_copy); |
| 26 |
|
| 27 |
void vbnv_platform_init_cmos(void); |
| 28 |
|
| 29 |
int vbnv_cmos_failed(void); |
| 30 |
void read_vbnv_cmos(uint8_t *vbnv_copy); |
| 31 |
void save_vbnv_cmos(const uint8_t *vbnv_copy); |
| 32 |
|
| 33 |
|
| 34 |
void read_vbnv_flash(uint8_t *vbnv_copy); |
| 35 |
void save_vbnv_flash(const uint8_t *vbnv_copy); |
| 36 |
|
| 37 |
|
| 38 |
void read_vbnv_ec(uint8_t *vbnv_copy); |
| 39 |
void save_vbnv_ec(const uint8_t *vbnv_copy); |
| 40 |
|
| 41 |
#endif |