diff mbox series

mtd: spi-nor: atmel: add at25sf321b entry

Message ID 20241018-spi-nor-v1-1-d725bfb701ec@gmail.com (mailing list archive)
State New
Headers show
Series mtd: spi-nor: atmel: add at25sf321b entry | expand

Commit Message

Marcus Folkesson Oct. 18, 2024, 9:51 a.m. UTC
Add entry for the at25sf321b 32Mbit SPI flash which is able to provide
SFDP information.

Link:
https://www.renesas.com/en/document/dst/at25sf321b-datasheet?r=1608806

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
 drivers/mtd/spi-nor/atmel.c | 6 ++++++
 1 file changed, 6 insertions(+)


---
base-commit: 200289db261f0c8131a5756133e9d30966289c3b
change-id: 20241018-spi-nor-dc29698dea0f

Best regards,
diff mbox series

Patch

diff --git a/drivers/mtd/spi-nor/atmel.c b/drivers/mtd/spi-nor/atmel.c
index 45d1153a04a07b7c61f46b117311b24ab695038f..e635559711a4b402d23d49da93efc15e6be571dd 100644
--- a/drivers/mtd/spi-nor/atmel.c
+++ b/drivers/mtd/spi-nor/atmel.c
@@ -238,6 +238,12 @@  static const struct flash_info atmel_nor_parts[] = {
 		.flags = SPI_NOR_HAS_LOCK,
 		.no_sfdp_flags = SECT_4K,
 		.fixups = &at25fs_nor_fixups
+	}, {
+		.id = SNOR_ID(0x1f, 0x87, 0x01),
+		.name = "at25sf321b",
+		.size = SZ_4M,
+		.flags = SPI_NOR_HAS_LOCK,
+		.no_sfdp_flags = SECT_4K,
 	},
 };