blob: e4e51bb5c0d1790ee1cbff57b6230e83ff78f436 [file] [log] [blame]
developercb71a942022-05-23 10:40:43 +08001--- a/drivers/mtd/nand/spi/gigadevice.c
2+++ b/drivers/mtd/nand/spi/gigadevice.c
3@@ -263,8 +263,7 @@ static const struct spinand_info gigadev
4 &write_cache_variants,
5 &update_cache_variants),
6 0,
7- SPINAND_ECCINFO(&gd5fxgq4xa_ooblayout,
8- gd5fxgq4xa_ecc_get_status)),
9+ SPINAND_ECCINFO(&gd5fxgq4xa_ooblayout, NULL)),
10 SPINAND_INFO("GD5F1GQ4xA",
11 SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0xf1),
12 NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),