[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.
Signed-off-by: Paul Gibson paul.gibson2074@gmail.com
--- 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:

On Wed, Sep 16, 2009 at 02:26:53PM +1000, Paul Gibson wrote:
Micron nand flash needs a reset before a read command is issued. The current mpc5121_nfc driver ignores the reset command.
Signed-off-by: Paul Gibson paul.gibson2074@gmail.com
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,
Applied to u-boot-nand-flash, but in the future please get your mail client to not wrap lines as above.
-Scott

Dear Paul Gibson,
In message 26b052040909152126q55945d47yad3bcf90334ac72e@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.
Signed-off-by: Paul Gibson paul.gibson2074@gmail.com
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
participants (3)
-
Paul Gibson
-
Scott Wood
-
Wolfgang Denk