mtd: spi-nor-ids: Reinstate Micron MT25QL02G
PATCH v2 1/1 mtd: spi-nor-ids: Reinstate Micron MT25QL02G
This ID disappeared in 5b66fdb29dc ("mtd: spi: Remove unused files"), add the ID back, since the chip is used on devices supported by U-Boot.
---
V2: Enable 4B opcodes which are supported by this chip
--- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/spi/spi-nor-ids.c +1 -0
@@ -195,6 +195,7 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25ql01g", 0x21ba20, 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) }, + { INFO("mt25ql02g", 0x20ba22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE | SPI_NOR_4B_OPCODES) }, #ifdef CONFIG_SPI_FLASH_MT35XU { INFO("mt35xu512aba", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES | SPI_NOR_OCTAL_DTR_READ) }, #endif /* CONFIG_SPI_FLASH_MT35XU */
Signature · 1 line
2.33.0
Quoted 10 lines · Marek Vasut
This ID disappeared in
5b66fdb29dc("mtd: spi: Remove unused files"), add the ID back, since the chip is used on devices supported by U-Boot.Fixes 5b66fdb29dc ("mtd: spi: Remove unused files")Signed-off-by Marek Vasut <[email protected]>Cc Horatiu Vultur <[email protected]>Cc Jagan Teki <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Stefan Roese <[email protected]>Cc Vignesh R <[email protected]>
Quoted 2 lines
---
V2: Enable 4B opcodes which are supported by this chip
Thanks,
Stefan
Quoted 10 lines
--- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi/spi-nor-ids.c +0
-0
drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 201
Quoted 7 lines
drivers/mtd/spi/spi-nor-ids.c +1
-0@@ -195,6 +195,7 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25ql01g", 0x21ba20, 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) }, + { INFO("mt25ql02g", 0x20ba22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE | SPI_NOR_4B_OPCODES) }, #ifdef CONFIG_SPI_FLASH_MT35XU { INFO("mt35xu512aba", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES | SPI_NOR_OCTAL_DTR_READ) }, #endif /* CONFIG_SPI_FLASH_MT35XU */
Viele Grüße,
Stefan
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
Quoted 11 lines · Marek Vasut
This ID disappeared in
5b66fdb29dc("mtd: spi: Remove unused files"), add the ID back, since the chip is used on devices supported by U-Boot.Fixes 5b66fdb29dc ("mtd: spi: Remove unused files")Signed-off-by Marek Vasut <[email protected]>Cc Horatiu Vultur <[email protected]>Cc Jagan Teki <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Stefan Roese <[email protected]>Cc Vignesh R <[email protected]>
Quoted 3 lines
---
V2: Enable 4B opcodes which are supported by this chip
---
Applied to u-boot-spi/master
Quoted 16 lines · Jagan Teki
Quoted 11 lines · Marek Vasut
This ID disappeared in
5b66fdb29dc("mtd: spi: Remove unused files"), add the ID back, since the chip is used on devices supported by U-Boot.Fixes 5b66fdb29dc ("mtd: spi: Remove unused files")Signed-off-by Marek Vasut <[email protected]>Cc Horatiu Vultur <[email protected]>Cc Jagan Teki <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Stefan Roese <[email protected]>Cc Vignesh R <[email protected]>Quoted 3 lines
---
V2: Enable 4B opcodes which are supported by this chip
---
Quoted 1 line
Applied to u-boot-spi/master
It seems u-boot-spi/master was last updated on August 5th and this patch still isn't in u-boot/master either. Any news ?