int nvflash_write_block(uint32 addr, void *data, uint32 len)
Write data to the flashrom.
int nvflash_erase_block(uint32 addr)
Erase a single block of flashrom.
int nvflash_erase_all(void)
Erase the whole flashrom.
int nvflash_detect(void)
Try to detect a compatible flashrom.
unsigned long uint32
32-bit unsigned integer
Definition types.h:33