From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1NYEcv-0006Ry-UP for linux-mtd@lists.infradead.org; Fri, 22 Jan 2010 08:12:22 +0000 Date: Fri, 22 Jan 2010 09:12:14 +0100 From: Sascha Hauer To: Eric Benard Subject: Re: [PATCH 1/1] mxc_nand : add RESET command support Message-ID: <20100122081214.GV7200@pengutronix.de> References: <1260347150.19669.1206.camel@localhost> <1260357163-5367-1-git-send-email-eric@eukrea.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1260357163-5367-1-git-send-email-eric@eukrea.com> Cc: linux-mtd@lists.infradead.org, dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Artem, can you take this patch, please? If your ok with it, I could take patches only affecting the mxc_nand driver also via my i.MX tree. Sascha On Wed, Dec 09, 2009 at 12:12:43PM +0100, Eric Benard wrote: > 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 Acked-by: Sascha Hauer > --- > 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 d5445cd..0207525 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); > > -- > 1.6.3.3 > > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |