From: Enric Balletbo i Serra Date: Mon, 11 Oct 2010 19:48:03 +0000 (+0200) Subject: mtd: OneNAND: add support for OneNAND manufactured by Numonyx X-Git-Tag: v2010.12-rc1~136 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=456be17dbe0e22ee2be9fafa1ea8888ddf6bd514;p=u-boot 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 Acked-by: Kyungmin Park Acked-by: Steve Sakoman Tested-by: Steve Sakoman --- diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index f9273ab970..24e02c2840 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 68e174e310..5465562639 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 /**