Skip to contentSkip to conversation

NAND: Add Micron MT29F16G identifier

PATCH New Chunhe Lan 3 participants 3 messages Apr 16, 2014 – May 1, 2014

Subsystems (2)
lore
Share & tools
lore

Chunhe Lan

author
#0 lore raw

PATCH 1/1 NAND: Add Micron MT29F16G identifier

The Micron MT29F16G parts are 2048Mbytes x 8 bits 3.3V parts with the 0x48 identifier. Add these to the list of known devices IDs.

---
 drivers/mtd/nand/nand_ids.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/nand/nand_ids.c +1 -0
index f3f0cb6..c11d227 100644
@@ -113,6 +113,7 @@ const struct nand_flash_dev nand_flash_ids[] = {
 
 	/* 16 Gigabit */
 	{"NAND 2GiB 1,8V 8-bit",	0xA5, 0, 2048, 0, LP_OPTIONS},
+	{"NAND 2GiB 3,3V 8-bit",	0x48, 0, 2048, 0, LP_OPTIONS},
 	{"NAND 2GiB 3,3V 8-bit",	0xD5, 0, 2048, 0, LP_OPTIONS},
 	{"NAND 2GiB 1,8V 16-bit",	0xB5, 0, 2048, 0, LP_OPTIONS16},
 	{"NAND 2GiB 3,3V 16-bit",	0xC5, 0, 2048, 0, LP_OPTIONS16},
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/1 NAND: Add Micron MT29F16G identifier

I added same ids, the device was able to be detected, but the nand info, nand erase.chip did not work. Same command works for a Micron 512MBytes nand. I am using mxc_nand driver. What else do we need update? what change you made to the mxc_nand.c and board configuration .h file?

--
View this message in context: http://u-boot.10912.n7.nabble.com/PATCH-NAND-Add-Micron-MT29F16G-identifier-tp178044p179128.html
Sent from the U-Boot mailing list archive at Nabble.com.

#2 lore raw

PATCH 1/1 NAND: Add Micron MT29F16G identifier

Hi,

Le Wed, 30 Apr 2014 21:30:58 -0700 (PDT),
smithknown <[email protected]> a ?crit :

Quoted 6 lines

I added same ids, the device was able to be detected, but the nand info, nand erase.chip did not work. Same command works for a Micron 512MBytes nand. I am using mxc_nand driver. What else do we need update? what change you made to the mxc_nand.c and board configuration .h file?

isn't your flash an ONFI one ?

This ID is wrong as if will return the same for (at least) MT29F16G and MT29F32G : you need to use ONFI to detect this kind of flashes.

Eric