summaryrefslogtreecommitdiff
path: root/src/drivers/spi/macronix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/macronix.c')
-rw-r--r--src/drivers/spi/macronix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c
index adf4f23737..334404dee9 100644
--- a/src/drivers/spi/macronix.c
+++ b/src/drivers/spi/macronix.c
@@ -201,6 +201,7 @@ static const struct macronix_spi_flash_params macronix_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,