flash: implement functions to check if pages are all zero or one
This commit is contained in:
parent
fe1cd870c0
commit
756e5852cb
3 changed files with 16 additions and 5 deletions
|
@ -24,7 +24,7 @@ static struct flash_ops spi_flash_ops = {
|
|||
.read = spi_flash_read,
|
||||
.write = spi_flash_write,
|
||||
.copy = default_flash_copy,
|
||||
.is_erased = default_flash_is_erased,
|
||||
.is_erased = default_flash_is_one,
|
||||
.erase = spi_flash_erase,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue