]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor-ids: Add support for XMC XM25QH64C
authorReto Schneider <reto.schneider@husqvarnagroup.com>
Thu, 17 Jun 2021 16:26:51 +0000 (18:26 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 3 Aug 2021 06:16:13 +0000 (11:46 +0530)
This chip has been (briefly) tested on the MediaTek MT7688 based GARDENA
smart gateway.

Datasheet: http://xmcwh.com/Uploads/2020-12-17/XM25QH64C_Ver1.1.pdf
Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-ids.c

index 6f84c54a47446993f00c6a39d327486e76f5c1b2..cb3a08872d64a25551296bd67b01c8a108d2b910 100644 (file)
@@ -359,6 +359,7 @@ const struct flash_info spi_nor_ids[] = {
 #ifdef CONFIG_SPI_FLASH_XMC
        /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
        { 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) },
 #endif
        { },