nand: Introduce CONFIG_SYS_NAND_SELF_INIT
authorScott Wood <scottwood@freescale.com>
Fri, 13 Jan 2012 01:07:23 +0000 (19:07 -0600)
committerScott Wood <scottwood@freescale.com>
Thu, 26 Jan 2012 22:09:06 +0000 (16:09 -0600)
commit578931b34d0a26974f14640fa4ec3aadeb2145cd
tree6ca33378286e482078718d76e2e195fad988bcd3
parent25efd99dbb1352314c9eacdfae42064c2ca15499
nand: Introduce CONFIG_SYS_NAND_SELF_INIT

This allows a driver to run code between nand_scan_ident() and
nand_scan_tail(), among other things.  See the additions to
doc/README.nand for details.

To allow a gradual transition, Boards that don't set
CONFIG_SYS_NAND_SELF_INIT will still be initialized the old way, but
new drivers should not require this, and existing drivers should be
converted when convenient.

Signed-off-by: Scott Wood <scottwood@freescale.com>
doc/README.nand
drivers/mtd/nand/nand.c
include/nand.h