KallistiOS git master
Independent SDK for the Sega Dreamcast
|
BIOS replacement flashrom support. More...
#include <arch/types.h>
Go to the source code of this file.
Functions | |
int | nvflash_detect (void) |
Try to detect a compatible flashrom. | |
int | nvflash_erase_block (uint32 addr) |
Erase a single block of flashrom. | |
int | nvflash_write_block (uint32 addr, void *data, uint32 len) |
Write data to the flashrom. | |
int | nvflash_erase_all (void) |
Erase the whole flashrom. | |
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 | ( | void | ) |
Try to detect a compatible flashrom.
int nvflash_erase_all | ( | void | ) |
Erase the whole flashrom.
int nvflash_erase_block | ( | uint32 | addr | ) |
Erase a single block of flashrom.
addr | The block of the flashrom to erase. |