public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] NAND: Add Micron MT29F16G identifier
@ 2014-04-16  8:44 Chunhe Lan
  2014-05-01  4:30 ` smithknown
  0 siblings, 1 reply; 3+ messages in thread
From: Chunhe Lan @ 2014-04-16  8:44 UTC (permalink / raw)
  To: u-boot

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},
-- 
1.7.6.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] NAND: Add Micron MT29F16G identifier
  2014-04-16  8:44 [U-Boot] [PATCH] NAND: Add Micron MT29F16G identifier Chunhe Lan
@ 2014-05-01  4:30 ` smithknown
  2014-05-01 19:34   ` Eric Bénard
  0 siblings, 1 reply; 3+ messages in thread
From: smithknown @ 2014-05-01  4:30 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] NAND: Add Micron MT29F16G identifier
  2014-05-01  4:30 ` smithknown
@ 2014-05-01 19:34   ` Eric Bénard
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Bénard @ 2014-05-01 19:34 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-01 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-16  8:44 [U-Boot] [PATCH] NAND: Add Micron MT29F16G identifier Chunhe Lan
2014-05-01  4:30 ` smithknown
2014-05-01 19:34   ` Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox