diff mbox series

mtd: spi-nor: ids: Enable Octal read for IS25LX512M flash

Message ID 20240228162415.1658361-1-tejas.arvind.bhumkar@amd.com
State New
Delegated to: Dario Binacchi
Headers show
Series mtd: spi-nor: ids: Enable Octal read for IS25LX512M flash | expand

Commit Message

Bhumkar, Tejas Arvind Feb. 28, 2024, 4:24 p.m. UTC
The addition of the "SPI_NOR_OCTAL_READ" flag enables the use of 7Ch 
4-byte octal output fast read command for IS25LX512M flash.

Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 4e83b8c94c..8786b6f862 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -241,7 +241,7 @@  const struct flash_info spi_nor_ids[] = {
 	{ INFO("is25wx256",  0x9d5b19, 0, 128 * 1024, 256,
 			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("is25lx512",  0x9d5a1a, 0, 64 * 1024, 1024,
-			SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
+			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
 #endif
 #ifdef CONFIG_SPI_FLASH_MACRONIX	/* MACRONIX */
 	/* Macronix */