blob: 084073db15706bd22e5d2fafee21a4296d5eadb9 [file] [log] [blame]
Index: linux-5.4.260/drivers/mtd/nand/spi/gigadevice.c
===================================================================
--- linux-5.4.260.orig/drivers/mtd/nand/spi/gigadevice.c
+++ linux-5.4.260/drivers/mtd/nand/spi/gigadevice.c
@@ -281,6 +281,15 @@ static int gd5fxgq4ufxxg_ecc_get_status(
}
static const struct spinand_info gigadevice_spinand_table[] = {
+ SPINAND_INFO("F50L1G41LB",
+ SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0x01),
+ NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
+ NAND_ECCREQ(8, 512),
+ SPINAND_INFO_OP_VARIANTS(&read_cache_variants_1gq5,
+ &write_cache_variants,
+ &update_cache_variants),
+ 0,
+ SPINAND_ECCINFO(&gd5fxgq4xa_ooblayout, NULL)),
SPINAND_INFO("GD5F1GQ4xA",
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0xf1),
NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),