From b04de58cb37a33de8addf8d03e293d3fce7ee251 Mon Sep 17 00:00:00 2001 From: Yi Zeng Date: Mon, 18 Sep 2017 14:20:37 +0800 Subject: [PATCH] nand: add slc nand support:F59L1G81LA (2Y),F59L1G81MA (2Y) PD#151128: nand: add slc nand support:F59L1G81LA (2Y),F59L1G81MA (2Y) Change-Id: I695e222c305aa4a7c9ca33d6e17c20d57bcf0191 Signed-off-by: Yi Zeng --- drivers/amlogic/mtd/nand_flash.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/mtd/nand_flash.c b/drivers/amlogic/mtd/nand_flash.c index cfb643e..3b0cb17 100644 --- a/drivers/amlogic/mtd/nand_flash.c +++ b/drivers/amlogic/mtd/nand_flash.c @@ -312,7 +312,7 @@ struct aml_nand_flash_dev aml_nand_flash_ids[] = { 0, 0, (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)}, -{"A revision NAND 4Gib EMST ", + {"A revision NAND 4Gib EMST ", {NAND_ID_ESMT, 0xac, 0x90, 0x15, 0x54, 0x7f}, 2048, 512, @@ -324,7 +324,30 @@ struct aml_nand_flash_dev aml_nand_flash_ids[] = { 0, 0, (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)}, - + {"ESMT SLC 128MiB 3.3V 8-bit F59L1G81Lxxx", + {NAND_ID_ESMT, 0xd1, 0x80, 0x95, 0x42, 0x7f}, + 2048, + 128, + 0x20000, + 64, + 1, + 20, + 15, + 0, + 0, + (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)}, + {"ESMT SLC 128MiB 3.3V 8-bit F59L1G81MA (2Y)", + {NAND_ID_ESMT, 0xd1, 0x80, 0x95, 0x40, 0x7f}, + 2048, + 128, + 0x20000, + 64, + 1, + 20, + 15, + 0, + 0, + (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)}, {"ESMT SLC 256MiB 3.3V 8-bit", {NAND_ID_ESMT, 0xda, 0x90, 0x95, 0x44, 0x7f}, 2048, -- 2.7.4