diff options
Diffstat (limited to 'src/drivers/spi/adesto.c')
-rw-r--r-- | src/drivers/spi/adesto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/spi/adesto.c b/src/drivers/spi/adesto.c index 1339ed2f27..fd3c0a2422 100644 --- a/src/drivers/spi/adesto.c +++ b/src/drivers/spi/adesto.c @@ -152,6 +152,7 @@ static const struct spi_flash_ops spi_flash_ops = { .read = spi_flash_cmd_read, .write = spi_flash_cmd_write_page_program, .erase = spi_flash_cmd_erase, + .status = spi_flash_cmd_status, }; int spi_flash_probe_adesto(const struct spi_slave *spi, u8 *idcode, @@ -180,6 +181,7 @@ int spi_flash_probe_adesto(const struct spi_slave *spi, u8 *idcode, flash->size = flash->sector_size *params->sectors_per_block * params->nr_blocks; flash->erase_cmd = CMD_AT25DF_SE; + flash->status_cmd = CMD_AT25DF_RDSR; flash->pp_cmd = CMD_AT25DF_PP; flash->wren_cmd = CMD_AT25DF_WREN; |