From: xianjun.liu Date: Wed, 26 Jun 2019 08:42:23 +0000 (+0800) Subject: mtd: nand: support new slc nand [2/2] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05e9350b2b42a49762a64fc972d74d3fb566b3d9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git mtd: nand: support new slc nand [2/2] 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 --- diff --git a/drivers/amlogic/mtd/nand_flash.c b/drivers/amlogic/mtd/nand_flash.c index eaf9715bf610..8faa619b6aa2 100644 --- a/drivers/amlogic/mtd/nand_flash.c +++ b/drivers/amlogic/mtd/nand_flash.c @@ -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,