Go to the source code of this file.
◆ FLASH_BANK_COMMAND_HANDLER()
| FLASH_BANK_COMMAND_HANDLER |
( |
rom_bank_command |
| ) |
|
◆ rom_erase()
| static int rom_erase |
( |
struct flash_bank * |
bank, |
|
|
unsigned int |
first, |
|
|
unsigned int |
last |
|
) |
| |
|
static |
◆ rom_probe()
◆ rom_write()
| static int rom_write |
( |
struct flash_bank * |
bank, |
|
|
const uint8_t * |
buffer, |
|
|
uint32_t |
offset, |
|
|
uint32_t |
count |
|
) |
| |
|
static |
◆ read_only_flash
Initial value:= {
.name = "read_only",
.flash_bank_command = rom_bank_command,
}
int default_flash_blank_check(struct flash_bank *bank)
Provides default erased-bank check handling.
int default_flash_read(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
Provides default read implementation for flash memory.
void default_flash_free_driver_priv(struct flash_bank *bank)
Deallocates bank->driver_priv.
static int rom_probe(struct flash_bank *bank)
static int rom_write(struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count)
static int rom_erase(struct flash_bank *bank, unsigned int first, unsigned int last)
Definition at line 34 of file read_only.c.