mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-14 08:50:14 +00:00
66458c49aa
Bump the target to v4.19. Add a patch with additional eth driver fixes/features that MTK provided aswell as the driver for the new mt7530 switch. Signed-off-by: John Crispin <john@phrozen.org>
37 lines
1.1 KiB
Diff
Executable File
37 lines
1.1 KiB
Diff
Executable File
From b341f120cfc9ca1dfd48364b7f36ac2c1fbdea43 Mon Sep 17 00:00:00 2001
|
|
From: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
|
|
Date: Wed, 3 Apr 2019 16:30:01 +0800
|
|
Subject: [PATCH 3/6] mtd: spinand: disable on-die ECC
|
|
|
|
Change-Id: I9745adaed5295202fabbe8ab8947885c57a5b847
|
|
Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
|
|
---
|
|
drivers/mtd/nand/spi/core.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
|
|
index 30f83649c481..3b6eac391350 100644
|
|
--- a/drivers/mtd/nand/spi/core.c
|
|
+++ b/drivers/mtd/nand/spi/core.c
|
|
@@ -554,7 +554,7 @@ static int spinand_mtd_read(struct mtd_info *mtd, loff_t from,
|
|
int ret = 0;
|
|
|
|
if (ops->mode != MTD_OPS_RAW && spinand->eccinfo.ooblayout)
|
|
- enable_ecc = true;
|
|
+ enable_ecc = false;
|
|
|
|
mutex_lock(&spinand->lock);
|
|
|
|
@@ -602,7 +602,7 @@ static int spinand_mtd_write(struct mtd_info *mtd, loff_t to,
|
|
int ret = 0;
|
|
|
|
if (ops->mode != MTD_OPS_RAW && mtd->ooblayout)
|
|
- enable_ecc = true;
|
|
+ enable_ecc = false;
|
|
|
|
mutex_lock(&spinand->lock);
|
|
|
|
--
|
|
2.20.1
|
|
|