]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mtd: nand: minor davinci_nand cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 22 Apr 2009 02:51:31 +0000 (19:51 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Jun 2009 16:39:22 +0000 (17:39 +0100)
commit533a0149148ccaa0199a1ee6492cd860e3c8b456
tree56d7320628d9c583183d7bacc75747e75e579b60
parent81d19b04a865f9fcc0ca01b20be806169ff9efb3
mtd: nand: minor davinci_nand cleanup

Make the DaVinci NAND driver require platform_data with
board-specific configuration.  We can't actually do any
kind of sane job of configuring it otherwise.

Also fix the comment about picking the "best" ECC mode.

We can't do those any more; that relied on knowing what kind
of CPU we're using (they don't all support 4-bit ECC), and
current policy is that drivers not have cpu_is_*() checks.

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>
drivers/mtd/nand/davinci_nand.c