ftl: use default_flash_is_zero() to check if pages are erased
This commit is contained in:
parent
756e5852cb
commit
37a25d7384
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ static struct flash_ops ftl_flash_ops = {
|
|||
.write = ftl_flash_write,
|
||||
/* TODO: implement default function to perform a copy. */
|
||||
.copy = NULL,
|
||||
.is_erased = default_flash_is_zero,
|
||||
.erase = ftl_flash_erase,
|
||||
.sync = ftl_flash_sync,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue