nand id: add nand id
authorYueguie He <yuegui.he@amlogic.com>
Fri, 30 Jun 2017 06:01:18 +0000 (14:01 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 30 Jun 2017 07:12:19 +0000 (00:12 -0700)
PD#146794: add nand id
          1. add nand id: W29N01HV

Change-Id: I4d3582b18df42d4b7f5f161a9c1a9504f9fd1da8
Signed-off-by: Yueguie He <yuegui.he@amlogic.com>
drivers/amlogic/mtd/nand_flash.c

index dda02a5..06a9cb5 100644 (file)
@@ -247,6 +247,20 @@ struct aml_nand_flash_dev aml_nand_flash_ids[] = {
                0,
                0,
                (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)},
+
+       {"A revision NAND 1Gib W29N01HV ",
+               {NAND_ID_WINBOND, 0xf1, 0x00, 0x95, 0x00, 0x00},
+               2048,
+               128,
+               0x20000,
+               64,
+               1,
+               16,
+               15,
+               0,
+               0,
+               (NAND_TIMING_MODE5 | NAND_ECC_BCH8_MODE)},
+
        {"A revision NAND 1Gib W29N01GV ",
                {NAND_ID_WINBOND, 0xf1, 0x80, 0x95, 0x00, 0x00},
                2048,