]> git.sur5r.net Git - u-boot/commit
mtd: denali: use CONFIG_SYS_NAND_SELF_INIT
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 13 Nov 2014 11:31:50 +0000 (20:31 +0900)
committerScott Wood <scottwood@freescale.com>
Thu, 27 Nov 2014 01:53:19 +0000 (19:53 -0600)
commit65e4145a2093e6f80f19018f10a416bd02d0e816
tree307b6705961338a08902bb077e3cedfa2db1dd62
parent35c204d8a9d036fdc2b139dd88212ca3e70ed6e1
mtd: denali: use CONFIG_SYS_NAND_SELF_INIT

Some variants of the Denali NAND controller need some registers
set up based on the device information that has been detected during
nand_scan_ident().

CONFIG_SYS_NAND_SELF_INIT has to be defined to insert code between
nand_scan_ident() and nand_scan_tail().  It is also helpful to reduce
the difference between this driver and its Linux counterpart because
this driver was ported from Linux.  Moreover, doc/README.nand recommends
to use CONFIG_SYS_NAND_SELF_INIT.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Chin Liang See <clsee@altera.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/denali.c
drivers/mtd/nand/denali.h