mtd: nand: support new slc nand [2/2]
authorxianjun.liu <xianjun.liu@amlogic.com>
Wed, 26 Jun 2019 08:42:23 +0000 (16:42 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 13 Aug 2019 02:11:09 +0000 (19:11 -0700)
PD#SWPL-10125

Problem:
2Gb SLC Nand GD9FU2G8F2AMGI requested by Marketing

Solution:
add the nand id into amlogic nand flash id table

Verify:
AXG_S400

Change-Id: I0ebaa8322d471af7c01857ed2b39046917aad7ab
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
drivers/amlogic/mtd/nand_flash.c

index eaf9715bf610d180dda3883237e4b4d86eae201f..8faa619b6aa215ef465e744b3e6e6e41449dc0f2 100644 (file)
@@ -505,6 +505,18 @@ struct aml_nand_flash_dev aml_nand_flash_ids[] = {
                0,
                0,
                (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)},
+       {"GigaDevice SLC 256MiB 8-bit GD9FU2G8F2A",
+               {NAND_ID_ESMT, 0xda, 0x90, 0x95, 0x46},
+               2048,
+               256,
+               0x20000,
+               128,
+               1,
+               18,
+               15,
+               0,
+               0,
+               (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)},
        {"A revision NAND 2Gib TC58BVG1S3HTA00 ",
                {NAND_MFR_TOSHIBA, 0xda, 0x90, 0x15, 0xF6},
                2048,