mtd: nand: add Toshiba TC58NVG0S3E to nand_ids table
authorOleksij Rempel <linux@rempel-privat.de>
Wed, 31 Dec 2014 12:58:53 +0000 (13:58 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 25 Aug 2015 19:24:02 +0000 (12:24 -0700)
Add the full description of the Toshiba TC58NVG0S3E NAND chip in the
nand_ids table so that we can later use the NAND ECC info and ONFI timing
mode in controller drivers.

Tested with asm9260_nand driver. [Brian: driver still under review]

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_ids.c

index 7124400..a8804a3 100644 (file)
@@ -29,6 +29,10 @@ struct nand_flash_dev nand_flash_ids[] = {
         * listed by full ID. We list them first so that we can easily identify
         * the most specific match.
         */
+       {"TC58NVG0S3E 1G 3.3V 8-bit",
+               { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} },
+                 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512),
+                 2 },
        {"TC58NVG2S0F 4G 3.3V 8-bit",
                { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} },
                  SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) },