[U-Boot] [PATCH] 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(-)
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 856cb36..7fd8a35 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c @@ -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:

Dear Paul Gibson,
In message 26b052040909151705r35cdb874gbbe5a184d20e4b35@mail.gmail.com you wrote:
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(-)
Applied, after fixing the line wrapping added by your mailer.
Please use "git send-email" to submit patches, which avoid this (and other) problem(s).
Best regards,
Wolfgang Denk

On Tue, Sep 22, 2009 at 10:45:39PM +0200, Wolfgang Denk wrote:
Dear Paul Gibson,
In message 26b052040909151705r35cdb874gbbe5a184d20e4b35@mail.gmail.com you wrote:
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(-)
Applied, after fixing the line wrapping added by your mailer.
I had already added it to u-boot-nand-flash.git...
-Scott

Dear Scott Wood,
In message 20090928182516.GB2860@b07421-ec1.am.freescale.net you wrote:
Applied, after fixing the line wrapping added by your mailer.
I had already added it to u-boot-nand-flash.git...
Ah, thanks. Didn't realize this, sorry. Should be no isse, though.
Best regards,
Wolfgang Denk
participants (3)
-
Paul Gibson
-
Scott Wood
-
Wolfgang Denk