[openwrt/openwrt] mediatek: Fix Fidelix-FM35X1GA patch

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 25 07:13:45 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8c2509dc5ff72ca47bd0787da407f5adc051a2b9

commit 8c2509dc5ff72ca47bd0787da407f5adc051a2b9
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 25 16:11:29 2021 +0200

    mediatek: Fix Fidelix-FM35X1GA patch
    
    This patch did not apply cleanly any more after support for the XTX
    flash was added to the generic patches.
    
    Fixes: 92012dd8677a ("kernel: Add support for XTX XT26G02A SPI NAND")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/patches-5.10/340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch b/target/linux/mediatek/patches-5.10/340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch
index 69a9297e1f..3af929e5f0 100644
--- a/target/linux/mediatek/patches-5.10/340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch
+++ b/target/linux/mediatek/patches-5.10/340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch
@@ -18,8 +18,8 @@ Signed-off-by: Davide Fioravanti <pantanastyle at gmail.com>
 +++ b/drivers/mtd/nand/spi/Makefile
 @@ -1,3 +1,3 @@
  # SPDX-License-Identifier: GPL-2.0
--spinand-objs := core.o gigadevice.o macronix.o micron.o paragon.o toshiba.o winbond.o
-+spinand-objs := core.o fidelix.o gigadevice.o macronix.o micron.o paragon.o toshiba.o winbond.o
+-spinand-objs := core.o gigadevice.o macronix.o micron.o paragon.o toshiba.o winbond.o xtx.o
++spinand-objs := core.o fidelix.o gigadevice.o macronix.o micron.o paragon.o toshiba.o winbond.o xtx.o
  obj-$(CONFIG_MTD_SPI_NAND) += spinand.o
 --- a/drivers/mtd/nand/spi/core.c
 +++ b/drivers/mtd/nand/spi/core.c



More information about the lede-commits mailing list