From 0fc2c683273fc991b14cada7a8e510232e7fa50e Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Sat, 6 Nov 2021 00:11:03 +0300 Subject: [PATCH] 12-zftlab-drivers-mtd-hisi-sfc-xm25qhxxa.patch --- .../12-zftlab-drivers-mtd-hisi-sfc-xm25qhxxa.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/12-zftlab-drivers-mtd-hisi-sfc-xm25qhxxa.patch diff --git a/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/12-zftlab-drivers-mtd-hisi-sfc-xm25qhxxa.patch b/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/12-zftlab-drivers-mtd-hisi-sfc-xm25qhxxa.patch new file mode 100644 index 00000000..693a86a1 --- /dev/null +++ b/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/12-zftlab-drivers-mtd-hisi-sfc-xm25qhxxa.patch @@ -0,0 +1,13 @@ +--- a/drivers/mtd/spi-nor/spi-nor.c 2020-07-25 00:45:30.000000000 +0300 ++++ b/drivers/mtd/spi-nor/spi-nor.c 2020-07-25 18:12:08.361369707 +0300 +@@ -1387,6 +1387,10 @@ + { "pn25f32s", INFO(0xe04016, 0, 64 * 1024, 64, + SPI_NOR_QUAD_READ), PARAMS(paragon), CLK_MHZ_2X(80) }, + ++ /* Xinxin MXC */ ++ { "xm25qh64a", INFO(0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, ++ { "xm25qh128a", INFO(0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, ++ + { }, + }; +