aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-30 12:32:20 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-24 18:45:05 -0400
commit42af8b58fb5ec97214e85780db71bb9d60541fcc (patch)
treea6d5b314484e42ea26c8c4bf83c64b8ccb2c85e3 /drivers
parentcaa4b6f24c2cae586ed3f371ddde7fc1fc75b322 (diff)
mtd: nand: denali should also handle NAND_CMD_PARAM
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/denali.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 532fe07cf886..8c8d3c86c0e8 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1292,6 +1292,7 @@ static void denali_cmdfunc(struct mtd_info *mtd, unsigned int cmd, int col,
1292 read_status(denali); 1292 read_status(denali);
1293 break; 1293 break;
1294 case NAND_CMD_READID: 1294 case NAND_CMD_READID:
1295 case NAND_CMD_PARAM:
1295 reset_buf(denali); 1296 reset_buf(denali);
1296 /*sometimes ManufactureId read from register is not right 1297 /*sometimes ManufactureId read from register is not right
1297 * e.g. some of Micron MT29F32G08QAA MLC NAND chips 1298 * e.g. some of Micron MT29F32G08QAA MLC NAND chips