[U-Boot] [PATCH] 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.
Signed-off-by: Chunhe Lan Chunhe.Lan@freescale.com --- drivers/mtd/nand/nand_ids.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index f3f0cb6..c11d227 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c @@ -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},

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-... Sent from the U-Boot mailing list archive at Nabble.com.

Hi,
Le Wed, 30 Apr 2014 21:30:58 -0700 (PDT), smithknown jimzhang02@yahoo.com a écrit :
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
participants (3)
-
Chunhe Lan
-
Eric Bénard
-
smithknown