[PATCH] mtd: spi-nor-ids: add support for Micron mt25ql02g

Brandon Maier brandon.maier at rockwellcollins.com
Fri Jan 15 22:25:07 CET 2021


From: Taylor Burton <taylor.burton at rockwellcollins.com>

Micron's mt25ql02g is not currently supported in
U-Boot, but is in Linux. Linux already has this flash
present in its table. A snippet below:

{ "mt25ql02g",   INFO(0x20ba22, 0, 64 * 1024, 4096...},

Signed-off-by: Taylor Burton <taylor.burton at rockwellcollins.com>
Signed-off-by: Brandon Maier <brandon.maier at rockwellcollins.com>
CC: Jagan Teki <jagan at amarulasolutions.com>
CC: Vignesh R <vigneshr at ti.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 5bd5dd3003..b1f7a1cf81 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -187,6 +187,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) },
 	{ INFO("mt35xu512aba", 0x2c5b1a, 0,  128 * 1024,  512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("mt35xu02g",  0x2c5b1c, 0, 128 * 1024,  2048, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
 #endif
-- 
2.29.1



More information about the U-Boot mailing list