mtd: pxa3xx_nand: Remove redundant NAND sensing
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Wed, 4 Nov 2015 16:13:44 +0000 (13:13 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 16 Nov 2015 23:03:25 +0000 (15:03 -0800)
commitb1e485779c06d3e43a1818f1065874dd2504b5ef
tree349b9f798b38e8d5601da0617d94860636c2fd52
parent154f50fbde539c20bbf74854461d932ebdace4d5
mtd: pxa3xx_nand: Remove redundant NAND sensing

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@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c