|
|
@ -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, |
|
|
|
}; |
|
|
|
}; |
|
|
|