summaryrefslogtreecommitdiff
path: root/src/drivers/spi/spansion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/spansion.c')
-rw-r--r--src/drivers/spi/spansion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/spi/spansion.c b/src/drivers/spi/spansion.c
index 01911a0696..3d2f39d6df 100644
--- a/src/drivers/spi/spansion.c
+++ b/src/drivers/spi/spansion.c
@@ -219,6 +219,7 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
};
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,