]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc512x. Micron nand flash needs a reset before a read command is issued.
authorPaul Gibson <paul.gibson2074@gmail.com>
Wed, 16 Sep 2009 00:05:00 +0000 (10:05 +1000)
committerWolfgang Denk <wd@denx.de>
Tue, 22 Sep 2009 20:59:42 +0000 (22:59 +0200)
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

index 856cb36c0c5f1bdaaf2f2e641617891590946065..7fd8a354791c176e1dbaa0d31105e2b43f9d29e9 100644 (file)
@@ -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: