spi: flash: use default_flash_copy()
This commit is contained in:
parent
1a2341e012
commit
6d73d7a655
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ static struct flash_ops spi_flash_ops = {
|
||||||
.get_capacity = spi_flash_get_size,
|
.get_capacity = spi_flash_get_size,
|
||||||
.read = spi_flash_read,
|
.read = spi_flash_read,
|
||||||
.write = spi_flash_write,
|
.write = spi_flash_write,
|
||||||
|
.copy = default_flash_copy,
|
||||||
.is_erased = default_flash_is_erased,
|
.is_erased = default_flash_is_erased,
|
||||||
.erase = spi_flash_erase,
|
.erase = spi_flash_erase,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue