[PATCH] mxc_nand : add RESET command support

Eric Bénard eric at eukrea.com
Thu Jan 21 15:46:58 EST 2010


Hi Sascha,

is it possible to get this patch merged to fix the RESET command on 
mxc_nand ?

Thanks,
Eric

Le 07/12/2009 23:02, Eric Bénard a écrit :
> 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>
> --
> 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);
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
>




More information about the linux-mtd mailing list