diff options
author | Huang Shijie <b32955@freescale.com> | 2013-12-26 02:37:45 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-20 14:23:28 -0500 |
commit | 3f97c6ff6de8a657e4d4d826e502698004cfc2ae (patch) | |
tree | d0581a6851cb195a01d426f41c030055a115d014 | |
parent | 94d04e824fc879f66d1a8f7c9689b85159e3f24e (diff) |
mtd: nand: add SanDisk manufacturer ID
Add the manufactor ID for SanDisk.
Make preparation for SanDisk SDTNRGAMA-008G.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r-- | drivers/mtd/nand/nand_ids.c | 1 | ||||
-rw-r--r-- | include/linux/mtd/nand.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index a87b0a3afa35..136a46321c6f 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c | |||
@@ -169,6 +169,7 @@ struct nand_manufacturers nand_manuf_ids[] = { | |||
169 | {NAND_MFR_AMD, "AMD/Spansion"}, | 169 | {NAND_MFR_AMD, "AMD/Spansion"}, |
170 | {NAND_MFR_MACRONIX, "Macronix"}, | 170 | {NAND_MFR_MACRONIX, "Macronix"}, |
171 | {NAND_MFR_EON, "Eon"}, | 171 | {NAND_MFR_EON, "Eon"}, |
172 | {NAND_MFR_SANDISK, "SanDisk"}, | ||
172 | {0x0, "Unknown"} | 173 | {0x0, "Unknown"} |
173 | }; | 174 | }; |
174 | 175 | ||
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 352e23891f58..e03a78c70de1 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
@@ -633,6 +633,7 @@ struct nand_chip { | |||
633 | #define NAND_MFR_AMD 0x01 | 633 | #define NAND_MFR_AMD 0x01 |
634 | #define NAND_MFR_MACRONIX 0xc2 | 634 | #define NAND_MFR_MACRONIX 0xc2 |
635 | #define NAND_MFR_EON 0x92 | 635 | #define NAND_MFR_EON 0x92 |
636 | #define NAND_MFR_SANDISK 0x45 | ||
636 | 637 | ||
637 | /* The maximum expected count of bytes in the NAND ID sequence */ | 638 | /* The maximum expected count of bytes in the NAND ID sequence */ |
638 | #define NAND_MAX_ID_LEN 8 | 639 | #define NAND_MAX_ID_LEN 8 |