mtd: mxc_nand: add RESET command support
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Feb 26 10:59:01 EST 2010
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=66803762c19f2e45ff4cc13cf63194589eb698c2
Commit: 66803762c19f2e45ff4cc13cf63194589eb698c2
Parent: 35109451f18280000ce5e7b76ac8d29eb222823b
Author: Eric Benard <eric at eukrea.com>
AuthorDate: Wed Dec 9 12:12:43 2009 +0100
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Feb 26 15:18:12 2010 +0000
mtd: mxc_nand: add RESET command support
mxc_nand driver must support the RESET Command in order to support
Micron NAND which need a reset before any other command.
Signed-off-by: Eric Benard <eric at eukrea.com>
Acked-by: Sascha Hauer <s.hauer at pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/mxc_nand.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 970ce6b..06cc378 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -638,6 +638,7 @@ static void mxc_nand_command(struct mtd_info *mtd, unsigned command,
case NAND_CMD_ERASE1:
case NAND_CMD_ERASE2:
+ case NAND_CMD_RESET:
send_cmd(host, command, false);
mxc_do_addr_cycle(mtd, column, page_addr);
More information about the linux-mtd-cvs
mailing list