[PATCH 2/3] nand_imx.c : add reset command

Eric Benard eric at eukrea.com
Wed Dec 9 08:55:15 EST 2009


The RESET command was removed during the nand_imx.c driver rework.
The reset commant is necessary in order to get Micron Nand running
as they need a RESET command before being able to get any command.

Signed-off-by: Eric Benard <eric at eukrea.com>
---
 drivers/nand/nand_imx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c
index edd7cdf..22d1870 100644
--- a/drivers/nand/nand_imx.c
+++ b/drivers/nand/nand_imx.c
@@ -748,6 +748,7 @@ static void imx_nand_command(struct mtd_info *mtd, unsigned command,
 
 	case NAND_CMD_ERASE1:
 	case NAND_CMD_ERASE2:
+	case NAND_CMD_RESET:
 		send_cmd(host, command);
 		mxc_do_addr_cycle(mtd, column, page_addr);
 		break;
-- 
1.6.3.3






More information about the u-boot-v2 mailing list