[PATCH 1/1] mxc_nand : add RESET command support

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 22 03:12:14 EST 2010


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 <eric at eukrea.com>

Acked-by: Sascha Hauer <s.hauer at pengutronix.de>

> ---
>  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 |



More information about the linux-mtd mailing list