mtd: spi-nor: atmel: add at25ff321a entry
authorNicolas Ferre <nicolas.ferre@microchip.com>
Tue, 26 Sep 2023 13:16:55 +0000 (15:16 +0200)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 27 Sep 2023 08:42:49 +0000 (11:42 +0300)
Add the at25ff321a 4MB SPI flash which is able to provide
SFDP information.
Link: https://www.renesas.com/us/en/document/dst/at25ff321a-datasheet
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230926131655.51224-1-nicolas.ferre@microchip.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/atmel.c

index 95f0e139284e59a96d5ee79e1a4a5f693a942418..e13b8d2dd50af060f62a5cd45db7128c92ed9721 100644 (file)
@@ -213,6 +213,11 @@ static const struct flash_info atmel_nor_parts[] = {
                .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
                .no_sfdp_flags = SECT_4K,
                .fixups = &atmel_nor_global_protection_fixups
+       }, {
+               .id = SNOR_ID(0x1f, 0x47, 0x08),
+               .name = "at25ff321a",
+               .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
+               .fixups = &atmel_nor_global_protection_fixups
        }, {
                .id = SNOR_ID(0x1f, 0x48, 0x00),
                .name = "at25df641",