mtd: nand: support new slc nand [1/1]
authorYi Zeng <yi.zeng@amlogic.com>
Fri, 25 Jan 2019 11:43:53 +0000 (19:43 +0800)
committerYi Zeng <yi.zeng@amlogic.com>
Tue, 12 Mar 2019 02:37:40 +0000 (18:37 -0800)
PD#SWPL-4511

Problem:
1Gb SLC Nand ZDND1G08U3D-IA requested by Marketing
aka ZDND1G08U3D-xx module number in code

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

Verify:
AXG_S400

Change-Id: I4e221497b801239aa62f62f844ff247fa05925d0
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
drivers/amlogic/mtd/nand_flash.c

index 9f29f4d..eaf9715 100644 (file)
@@ -301,6 +301,19 @@ struct aml_nand_flash_dev aml_nand_flash_ids[] = {
                0,
                (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)},
 
+       {"Zetta NAND ZDND1G08U3D-xx 1Gb",
+               {NAND_MFR_ZETTA, 0xf1, 0x80, 0x95},
+               2048,
+               128,
+               0x20000,
+               64,
+               1,
+               20,
+               15,
+               0,
+               0,
+               (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)},
+
        {"A revision NAND 1GiB sF1G-A",
                {NAND_MFR_AMD, 0xf1, 0x80, 0x1d, 0x01, 0xf1},
                2048,