[MTD] [NAND] nand_base.c: reset chip first
authorKarl Beldan <karl.beldan@gmail.com>
Mon, 15 Sep 2008 12:37:29 +0000 (14:37 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 16 Sep 2008 15:18:12 +0000 (08:18 -0700)
Some chips require a RESET after power-up (e.g. Micron MT29FxGxxxxx).
The first command sent is NAND_CMD_READID.
Issue a NAND_CMD_RESET in nand_scan_ident before reading the device id.
Tested with an MT29F4G08AAC.

Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found