flash: add and implemented flash_is_erased() for sandbox flash

This commit is contained in:
S.J.R. van Schaik 2017-05-19 17:16:01 +02:00
parent e65110f084
commit 20125827b6
3 changed files with 36 additions and 0 deletions

View file

@ -32,6 +32,7 @@ static struct flash_ops stdio_flash_ops = {
.read = stdio_flash_read,
.write = stdio_flash_write,
.copy = stdio_flash_copy,
.is_erased = default_flash_is_erased,
.erase = stdio_flash_erase,
};