From: Paul Gibson Date: Wed, 16 Sep 2009 00:05:00 +0000 (+1000) Subject: mpc512x. Micron nand flash needs a reset before a read command is issued. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d3f4941874a20d8a390a36ba71335ae1db2f9ba0;p=project%2Fbcm63xx%2Fu-boot.git 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. --- diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 856cb36c0c..7fd8a35479 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: