This part is an FRAM, but can be used through the spi-nor generic code. Signed-off-by: Christoph Reiter mailto:christoph.rei...@evk.biz --- drivers/mtd/spi/Kconfig | 6 ++++++ drivers/mtd/spi/spi-nor-ids.c | 13 +++++++++++++ 2 files changed, 19 insertions(+)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index ca60a425ba3..6f92dfaa2ef 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -291,4 +291,10 @@ config SPL_SPI_FLASH_MTD If unsure, say N +config SPI_FRAM_FUJITSU + bool "Fujitsu SPI FRAM support" + help + Add support for the Fujitsu MB85RS256TY FRAM chip. It's treated the same + as SPI NOR flash at the moment. + endmenu # menu "SPI Flash Support" diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 0383175beb5..83c836b2596 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -86,6 +86,19 @@ const struct flash_info spi_nor_ids[] = { { INFO("en25qh128", 0x1c7018, 0, 64 * 1024, 256, 0) }, { INFO("en25s64", 0x1c3817, 0, 64 * 1024, 128, SECT_4K) }, #endif +#ifdef CONFIG_SPI_FRAM_FUJITSU + /* Fujitsu MB85RS256TY */ + { + INFO_NAME("mb85rs256ty") + .id = {0x04, 0x7f, 0x25, 0x00, 0x00}, + .id_len = 3, + .sector_size = 32 * 1024, + .n_sectors = 1, + .page_size = 32 * 1024, /* Whole chip can be written at once */ + .flags = SPI_NOR_NO_ERASE, + .addr_width = 2, + }, +#endif #ifdef CONFIG_SPI_FLASH_GIGADEVICE /* GIGADEVICE */ /* GigaDevice */ { -- 2.46.1.windows.1 ---- Christoph Reiter, MSc Firmware Engineer EVK DI Kerschhaggl GmbH Josef-Krainer-Str. 35 8074Raaba-Graz Austria P +43 316 461664 23 christoph.rei...@evk.biz Join us from August 27-29 at Retech 2025 in Seoul, South Korea, when everthing revolves around waste management, recycling and environmental technologies. We look forward to meeting you at our booth D111. Before printing, please think about the environment The information contained in this message is confidential and may be legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. [v12190717]