mtd: nand: davinci_nand, 4-bit ECC for smallpage
commit6a4123e581b3112ff4ea7439ab9ae5cb271a9dbd
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 22 Apr 2009 02:58:13 +0000 (21 19:58 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Jun 2009 16:39:36 +0000 (5 17:39 +0100)
tree29967a656e87ca5ca566006e47882cb2077ae14c
parent533a0149148ccaa0199a1ee6492cd860e3c8b456
mtd: nand: davinci_nand, 4-bit ECC for smallpage

Minimal support for the 4-bit ECC engine found on DM355, DM365,
DA830/OMAP-L137, and similar recent DaVinci-family chips.

This is limited to small-page flash for now; there are some page
layout issues for large page chips.  Note that most boards using
this engine (like the DM355 EVM) include 2GiB large page chips.

Sanity tested on DM355 EVM after swapping the socketed NAND for
a small-page one.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/mach-davinci/include/mach/nand.h
drivers/mtd/nand/davinci_nand.c