mtd: spi-nor-ids: Add SPI_NOR_4B_OPCODES to micron mt35xu512g flash ID
PATCH 1/1 mtd: spi-nor-ids: Add SPI_NOR_4B_OPCODES to micron mt35xu512g flash ID
Signed-off-by Kuldeep Singh <[email protected]>
--- drivers/mtd/spi/spi-nor-ids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/spi-nor-ids.c +1 -1
@@ -164,7 +164,7 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q00", 0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25qu02g", 0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, - { INFO6("mt35xu512g", 0x2c5b1a, 0x104100, 128 * 1024, 512, USE_FSR) }, + { INFO6("mt35xu512g", 0x2c5b1a, 0x104100, 128 * 1024, 512, USE_FSR | SPI_NOR_4B_OPCODES) }, #endif #ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */ /* Spansion/Cypress -- single (large) sector size only, at least
Signature · 1 line
2.17.1
PATCH 1/1 mtd: spi-nor-ids: Add SPI_NOR_4B_OPCODES to micron mt35xu512g flash ID
Quoted 11 lines · Kuldeep Singh
Signed-off-by Kuldeep Singh <[email protected]>--- drivers/mtd/spi/spi-nor-ids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mtd/spi/spi-nor-ids.c +0
-0
drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 167
Quoted 5 lines
drivers/mtd/spi/spi-nor-ids.c +1
-1@@ -164,7 +164,7 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q00", 0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25qu02g", 0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, - { INFO6("mt35xu512g", 0x2c5b1a, 0x104100, 128 * 1024, 512, USE_FSR) }, + { INFO6("mt35xu512g", 0x2c5b1a, 0x104100, 128 * 1024, 512, USE_FSR | SPI_NOR_4B_OPCODES) },
Wrong? this patch created on top v1 [1].