Skip to contentSkip to conversation

mpc512x. Micron nand flash needs a reset before a read command is issued

PATCH New Paul Gibson 3 participants 3 messages Sep 16, 2009 – Sep 22, 2009

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

PATCH 1/1 mpc512x. Micron nand flash needs a reset before a read command is issued

Micron nand flash needs a reset before a read command is issued. The current mpc5121_nfc driver ignores the reset command.

---
 drivers/mtd/nand/mpc5121_nfc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/nand/mpc5121_nfc.c +0 -0
index 856cb36..7fd8a35 100644
@@ -334,6 +334,7 @@ static void mpc5121_nfc_command(struct mtd_info

*mtd, unsigned command,
case NAND_CMD_ERASE2:
case NAND_CMD_READID:
case NAND_CMD_STATUS:
+ case NAND_CMD_RESET:
break;

default:

Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 mpc512x. Micron nand flash needs a reset before a read command is issued

Quoted 14 lines · Paul Gibson

Micron nand flash needs a reset before a read command is issued. The current mpc5121_nfc driver ignores the reset command.

---
 drivers/mtd/nand/mpc5121_nfc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/nand/mpc5121_nfc.c +0 -0
index 856cb36..7fd8a35 100644

drivers/mtd/nand/mpc5121_nfc.c static void mpc5121_nfc_command(struct mtd_info · line 334

Quoted 1 line
drivers/mtd/nand/mpc5121_nfc.c +0 -0
@@ -334,6 +334,7 @@ static void mpc5121_nfc_command(struct mtd_info
 *mtd, unsigned command,

Applied to u-boot-nand-flash, but in the future please get your mail client to not wrap lines as above.

-Scott

#2 lore raw

PATCH 1/1 mpc512x. Micron nand flash needs a reset before a read command is issued

In reply to Paul Gibson

Dear Paul Gibson,

Quoted 8 lines · In message <[email protected]> you…

Micron nand flash needs a reset before a read command is issued. The current mpc5121_nfc driver ignores the reset command.

---
 drivers/mtd/nand/mpc5121_nfc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Why did you resend this? I don't notice any changes, there is not "v2" indication or comments aboyt changes either. So what am I supposed to do with that?

And the patch is line-wrapped like the first posting. Please *fix* that.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
America has been discovered before, but it has always been hushed up.
- Oscar Wilde