blob: 644c6b3d57e5c6101f04bfef83a96df0694a8161 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From c93adec4ad0e8ca47f1a622fb3a5ae445251af36 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:16 +0800
4Subject: [PATCH]
5 [spi-and-storage][999-2336-mtd-spinand-fix-F50L1G41LB-ecc-check.patch]
6
7---
8 drivers/mtd/nand/spi/gigadevice.c | 3 +--
9 1 file changed, 1 insertion(+), 2 deletions(-)
10
11diff --git a/drivers/mtd/nand/spi/gigadevice.c b/drivers/mtd/nand/spi/gigadevice.c
12index b163ea5dc..6ee569de2 100644
13--- a/drivers/mtd/nand/spi/gigadevice.c
14+++ b/drivers/mtd/nand/spi/gigadevice.c
15@@ -263,8 +263,7 @@ static const struct spinand_info gigadevice_spinand_table[] = {
16 &write_cache_variants,
17 &update_cache_variants),
18 0,
19- SPINAND_ECCINFO(&gd5fxgq4xa_ooblayout,
20- gd5fxgq4xa_ecc_get_status)),
21+ SPINAND_ECCINFO(&gd5fxgq4xa_ooblayout, NULL)),
22 SPINAND_INFO("GD5F1GQ4xA",
23 SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0xf1),
24 NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
25--
262.34.1
27