KallistiOS
##version##
|
BIOS replacement flashrom support. More...
#include <arch/types.h>
Go to the source code of this file.
Functions | |
int | nvflash_detect () |
Try to detect a compatible flashrom. More... | |
int | nvflash_erase_block (uint32 addr) |
Erase a single block of flashrom. More... | |
int | nvflash_write_block (uint32 addr, void *data, uint32 len) |
Write data to the flashrom. More... | |
int | nvflash_erase_all () |
Erase the whole flashrom. More... | |
BIOS replacement flashrom support.
This file is involved with accessing an flashrom chip soldered in place to replace the BIOS ROM. Specifically, this driver is for accessing a STMicro M29W800B, but should also work with other chips like the M29W160B or equivalent AMD chips.
int nvflash_detect | ( | ) |
Try to detect a compatible flashrom.
int nvflash_erase_all | ( | ) |
Erase the whole flashrom.
int nvflash_erase_block | ( | uint32 | addr | ) |
Erase a single block of flashrom.
addr | The block of the flashrom to erase. |