diff options
author | Enric Balletbo i Serra <eballetbo@gmail.com> | 2010-10-11 21:48:03 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2010-10-11 15:15:45 -0500 |
commit | 456be17dbe0e22ee2be9fafa1ea8888ddf6bd514 (patch) | |
tree | 19ebb69db7ce5ea2d01e309a195fce098c90e7bb | |
parent | fdd813def82c3405cb999c05154212bacd7b6126 (diff) |
mtd: OneNAND: add support for OneNAND manufactured by Numonyx
This patch adds the Numonyx manufacturer code (0x20) to
onenand manufacturers.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Steve Sakoman <steve.sakoman@linaro.org>
Tested-by: Steve Sakoman <steve.sakoman@linaro.org>
-rw-r--r-- | drivers/mtd/onenand/onenand_base.c | 1 | ||||
-rw-r--r-- | include/linux/mtd/onenand.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index f9273ab9704..24e02c2840b 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd/onenand/onenand_base.c @@ -2213,6 +2213,7 @@ char *onenand_print_device_info(int device, int version) } static const struct onenand_manufacturers onenand_manuf_ids[] = { + {ONENAND_MFR_NUMONYX, "Numonyx"}, {ONENAND_MFR_SAMSUNG, "Samsung"}, }; diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h index 68e174e310c..54655626395 100644 --- a/include/linux/mtd/onenand.h +++ b/include/linux/mtd/onenand.h @@ -154,6 +154,7 @@ struct onenand_chip { /* * OneNAND Flash Manufacturer ID Codes */ +#define ONENAND_MFR_NUMONYX 0x20 #define ONENAND_MFR_SAMSUNG 0xec /** |