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:
-- 
1.6.0.4
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to