[PATCH] mtd: spi-nor: micron-st: add another variant of mt25qu256a

From: Wilken Gottwalt
Date: Thu Jul 29 2021 - 02:22:12 EST


Adds a second variant of mt25qu256a with a slightly different extended
device id.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@xxxxxxxxxx>
Signed-off-by: Joerg Reiling <joerg.reiling@xxxxxxxxxxxx>
---
drivers/mtd/spi-nor/micron-st.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c
index c224e59820a1..2682d67d037b 100644
--- a/drivers/mtd/spi-nor/micron-st.c
+++ b/drivers/mtd/spi-nor/micron-st.c
@@ -156,6 +156,9 @@ static const struct flash_info st_parts[] = {
{ "mt25qu256a", INFO6(0x20bb19, 0x104400, 64 * 1024, 512,
SECT_4K | USE_FSR | SPI_NOR_DUAL_READ |
SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
+ { "mt25qu256a1", INFO6(0x20bb19, 0x104000, 64 * 1024, 512,
+ SECT_4K | USE_FSR | SPI_NOR_DUAL_READ |
+ SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
{ "n25q256ax1", INFO(0x20bb19, 0, 64 * 1024, 512,
SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) },
{ "mt25ql512a", INFO6(0x20ba20, 0x104400, 64 * 1024, 1024,
--
2.32.0