]> git.ipfire.org Git - people/ms/u-boot.git/commit
NAND: Reset chip on power-up
authorKarl Beldan <karl.beldan@gmail.com>
Mon, 15 Sep 2008 14:08:03 +0000 (16:08 +0200)
committerScott Wood <scottwood@freescale.com>
Wed, 29 Oct 2008 15:42:17 +0000 (10:42 -0500)
commit33efde5ecac91ab118ff00b95a181fd6d75f8645
tree20833698e05baa1df329358a0df5bfa828dbfd1d
parentc45912d8abc52de796b9059a58faf7c4166eab58
NAND: Reset chip on power-up

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: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c