]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor: Add support for XMC XM25QU128C
authorRicardo Pardini <ricardo@pardini.net>
Tue, 17 Oct 2023 21:40:20 +0000 (21:40 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 24 Oct 2023 07:55:16 +0000 (15:55 +0800)
Add support for XMC XM25QU128C (128M-bit) Serial Flash memory. Used on
the Xunlong Orange Pi 3B, 5 and 5 Plus boards.

Datasheet:
https://www.xmcwh.com/uploads/806/XM25QU128C_Ver2.0.pdf

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
[jonas@kwiboo.se: update commit message]
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/mtd/spi/spi-nor-ids.c

index b03dd1cd08e55f4e4187508128ede39ef125a1f0..77eb9f352c69707d4534479eafcc4bf5682d124c 100644 (file)
@@ -532,6 +532,7 @@ const struct flash_info spi_nor_ids[] = {
        { INFO("XM25QH64A", 0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
        { INFO("XM25QH64C", 0x204017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
        { INFO("XM25QH128A", 0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+       { INFO("XM25QU128C", 0x204118, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 #endif
 #ifdef CONFIG_SPI_FLASH_XTX
        /* XTX Technology Limited */