summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/common/flash_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/common/flash_controller.c')
-rw-r--r--src/soc/mediatek/common/flash_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/flash_controller.c b/src/soc/mediatek/common/flash_controller.c
index 3fe17f861286..c4c758ef19a5 100644
--- a/src/soc/mediatek/common/flash_controller.c
+++ b/src/soc/mediatek/common/flash_controller.c
@@ -142,7 +142,7 @@ static int nor_read(const struct spi_flash *flash, u32 addr, size_t len,
}
}
- if (CONFIG(FLASH_DUAL_READ)) {
+ if (CONFIG(FLASH_DUAL_IO_READ)) {
setbits8(&mtk_nor->read_dual, SFLASH_READ_DUAL_EN);
write8(&mtk_nor->prgdata[3], SFLASH_1_1_2_READ);
}