Skip to contentSkip to conversation

mtd: spi-nor-ids: Add support for AT25SF321B and AT25SF641B

PATCH Superseded Zixun LI 2 participants 3 messages Jul 1, 2025 – Feb 13 Memory technology devices (MTD)

lore
Share & tools
lore

Zixun LI

author
#0 lore raw

PATCH 1/1 mtd: spi-nor-ids: Add support for AT25SF321B and AT25SF641B

These flash chips are similar to AT25DF321A with Quad I/O capacity.

---
Tested on SAM9X60 custom board.

---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +2 -0
index e7e97780d7cdd27104fd7db900b3a779d2188922..18bc6f2f06e9a02594da6ad1880489e78458a60f 100644
@@ -76,6 +76,8 @@ const struct flash_info spi_nor_ids[] = {
 	{ INFO("at45db641d",	0x1f2800, 0, 64 * 1024, 128, SECT_4K) },
 	{ INFO("at25sl321",	0x1f4216, 0, 64 * 1024,  64, SECT_4K) },
 	{ INFO("at26df081a",	0x1f4501, 0, 64 * 1024,  16, SECT_4K) },
+	{ INFO("at25sf321b",	0x1f8701, 0, 64 * 1024,  64, SECT_4K) },
+	{ INFO("at25sf641b",	0x1f8801, 0, 64 * 1024, 128, SECT_4K) },
 #endif
 #ifdef CONFIG_SPI_FLASH_EON		/* EON */
 	/* EON -- en25xxx */

---
base-commit: 4d3b5c679bc9d5c6cbbeedcc1e4a186f1cc35541
change-id: 20250701-nor-0ee20c630bc4

Best regards,

Signature · 1 line
Zixun LI <[email protected]>
author
#1 lore raw

Hello, any update on this ?

Zixun

Quoted 32 lines · Zixun LI

These flash chips are similar to AT25DF321A with Quad I/O capacity.

---
Tested on SAM9X60 custom board.

---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +2 -1
index e7e97780d7cdd27104fd7db900b3a779d2188922..18bc6f2f06e9a02594da6ad1880489e78458a60f 100644
@@ -76,6 +76,8 @@ const struct flash_info spi_nor_ids[] = {
        { INFO("at45db641d",    0x1f2800, 0, 64 * 1024, 128, SECT_4K) },
        { INFO("at25sl321",     0x1f4216, 0, 64 * 1024,  64, SECT_4K) },
        { INFO("at26df081a",    0x1f4501, 0, 64 * 1024,  16, SECT_4K) },
+       { INFO("at25sf321b",    0x1f8701, 0, 64 * 1024,  64, SECT_4K) },
+       { INFO("at25sf641b",    0x1f8801, 0, 64 * 1024, 128, SECT_4K) },
 #endif
 #ifdef CONFIG_SPI_FLASH_EON            /* EON */
        /* EON -- en25xxx */
 
---

base-commit: 4d3b5c679bc9d5c6cbbeedcc1e4a186f1cc35541
change-id: 20250701-nor-0ee20c630bc4

Best regards,
--
Zixun LI <[email protected]>

#2 lore raw
Quoted 15 lines · Zixun LI

Hello, any update on this ?

Zixun

Quoted 10 lines · Zixun LI

These flash chips are similar to AT25DF321A with Quad I/O capacity.

---
Tested on SAM9X60 custom board.

---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)
Quoted 14 lines
Quoted 6 lines
drivers/mtd/spi/spi-nor-ids.c +0 -0
index e7e97780d7cdd27104fd7db900b3a779d2188922..18bc6f2f06e9a02594da6ad1880489e78458a60f 100644

drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 83

Quoted 8 lines
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -76,6 +76,8 @@ const struct flash_info spi_nor_ids[] = {
        { INFO("at45db641d",    0x1f2800, 0, 64 * 1024, 128, SECT_4K) },
        { INFO("at25sl321",     0x1f4216, 0, 64 * 1024,  64, SECT_4K) },
        { INFO("at26df081a",    0x1f4501, 0, 64 * 1024,  16, SECT_4K) },
+       { INFO("at25sf321b",    0x1f8701, 0, 64 * 1024,  64, SECT_4K) },
+       { INFO("at25sf641b",    0x1f8801, 0, 64 * 1024, 128, SECT_4K) },
 #endif
 #ifdef CONFIG_SPI_FLASH_EON            /* EON */
        /* EON -- en25xxx */

Sorry for the delay. For ease of future re-syncs these should be in the upstream linux kernel first, and then brought to U-Boot, thanks.

Signature · 1 line
Tom