OSDN Git Service

mtd: nand: add ATO manufacturer info
authorBrian Norris <computersforpeace@gmail.com>
Tue, 4 Nov 2014 19:32:45 +0000 (11:32 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 26 Nov 2014 04:11:12 +0000 (20:11 -0800)
Tested with ATO AFND1G08U3, 128MiB NAND.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_ids.c
include/linux/mtd/nand.h

index fbde891..dd620c1 100644 (file)
@@ -178,6 +178,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
        {NAND_MFR_EON, "Eon"},
        {NAND_MFR_SANDISK, "SanDisk"},
        {NAND_MFR_INTEL, "Intel"},
+       {NAND_MFR_ATO, "ATO"},
        {0x0, "Unknown"}
 };
 
index b14d190..3d4ea7e 100644 (file)
@@ -736,6 +736,7 @@ struct nand_chip {
 #define NAND_MFR_EON           0x92
 #define NAND_MFR_SANDISK       0x45
 #define NAND_MFR_INTEL         0x89
+#define NAND_MFR_ATO           0x9b
 
 /* The maximum expected count of bytes in the NAND ID sequence */
 #define NAND_MAX_ID_LEN 8