[PATCH 4/6] mtd: pxa3xx_nand: Remove redundant NAND sensing

Robert Jarzmik robert.jarzmik at free.fr
Wed Nov 4 13:05:30 PST 2015


Ezequiel Garcia <ezequiel at vanguardiasur.com.ar> writes:

> Currently, the driver is trying to detect the presence of a chip
> by issuing a RESET command before nand_scan_ident. This seems completely
> redundant, and is also a layering violation as nand_scan_ident is in charge
> of device detection.
>
> This commit removes the RESET command use, and moves the initial
> timing configuration to pxa3xx_nand_config_ident.
>
> Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
That one looks good to me. I have not taken the time to apply it to see the
overall change, but from a first sight it's ok.

Cheers.

--
Robert



More information about the linux-mtd mailing list