[U-Boot] [PATCH] mpc512x. Micron nand flash needs a reset before a read command is issued
Paul Gibson
paul.gibson2074 at gmail.com
Wed Sep 16 06:26:53 CEST 2009
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 at 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:
--
1.6.0.4
More information about the U-Boot
mailing list