]> git.sur5r.net Git - u-boot/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)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:31 +0000 (09:04 -0500)
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: