Skip to contentSkip to conversation

Add NAND manufacturer AMD.

PATCH In review Steven J. Hill 2 participants 2 messages Jul 19, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add NAND manufacturer AMD.

This patch adds the manufacturer ID for AMD flash.

drivers/mtd/nand/nand_ids.c +1 -0
diff -ur linux-2.6.22/drivers/mtd/nand/nand_ids.c linux-2.6.22-patched/drivers/mtd/nand/nand_ids.c
@@ -141,6 +141,7 @@
 	{NAND_MFR_STMICRO, "ST Micro"},
 	{NAND_MFR_HYNIX, "Hynix"},
 	{NAND_MFR_MICRON, "Micron"},
+	{NAND_MFR_AMD, "AMD"},
 	{0x0, "Unknown"}
 };
 
include/linux/mtd/nand.h +1 -0
diff -ur linux-2.6.22/include/linux/mtd/nand.h linux-2.6.22-patched/include/linux/mtd/nand.h
@@ -432,6 +432,7 @@
 #define NAND_MFR_STMICRO	0x20
 #define NAND_MFR_HYNIX		0xad
 #define NAND_MFR_MICRON		0x2c
+#define NAND_MFR_AMD		0x01
 
 /**
  * struct nand_flash_dev - NAND Flash Device ID Structure
#1 lore raw
Quoted 5 lines · Steven J. Hill

This patch adds the manufacturer ID for AMD flash.

Please don't submit patches in attachment file and follow the Documentation/SubmittingPatches to do it.

- Bryan Wu

Quoted 4 lines

plain text document attachment (ATT333278.txt), "ATT333278.txt"
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/