firmware/br-ext-chip-hisilicon/board/hi3516av100/kernel/patches/0010-add-xm25qh128-hisfc-sp...

36 lines
689 B
Diff

--- a/drivers/mtd/spi-nor/hisfc350/hisfc350_spi_ids.c
+++ b/drivers/mtd/spi-nor/hisfc350/hisfc350_spi_ids.c
@@ -2203,6 +2203,32 @@
},
&spi_driver_general,
},
+ {
+ "XM25QH128AHIG", {0x20, 0x70, 0x18}, 3, _16M, _64K, 3,
+ {
+ &READ_STD(0, INFINITE, 33),
+ &READ_FAST(1, INFINITE, 104),
+ &READ_DUAL(1, INFINITE, 104),
+#ifndef CONFIG_CLOSE_SPI_8PIN_4IO
+ &READ_QUAD(1, INFINITE, /*70*/80),
+#endif
+ 0
+ },
+
+ {
+ &WRITE_STD(0, 256, 104),
+#ifndef CONFIG_CLOSE_SPI_8PIN_4IO
+ &WRITE_QUAD(0, 256, /*70*/80),
+#endif
+ 0
+ },
+
+ {
+ &ERASE_SECTOR_64K(0, _64K, 104),
+ 0
+ },
+ &spi_driver_general,
+ },
{0, {0}, 0, 0, 0, 0, {0}, {0}, {0}, NULL},
};