]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: OneNAND: add support for OneNAND manufactured by Numonyx
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Mon, 11 Oct 2010 19:48:03 +0000 (21:48 +0200)
committerScott Wood <scottwood@freescale.com>
Mon, 11 Oct 2010 20:15:45 +0000 (15:15 -0500)
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>
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand.h

index f9273ab970489fda54ad8faa1c50e51aad8da887..24e02c2840b6c30f84b80d03be01e5af778e7a80 100644 (file)
@@ -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"},
 };
 
index 68e174e310c9a780f2ee1b3d726809973843dcfd..54655626395054869396f4d4887512b5fd87a1fc 100644 (file)
@@ -154,6 +154,7 @@ struct onenand_chip {
 /*
  * OneNAND Flash Manufacturer ID Codes
  */
+#define ONENAND_MFR_NUMONYX    0x20
 #define ONENAND_MFR_SAMSUNG    0xec
 
 /**