mtd: mxc_nand: put ecc layout into devtype structs
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 23 Apr 2012 09:23:37 +0000 (11:23 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:02:08 +0000 (23:02 -0500)
commit6dcdf99dfab15bebf71ae66ed04cdce05b20779c
tree0cdda694cc190edff56d044f55fe999ba24e6d24
parent6d38af255a106fe921762c5c5de32dac92647af9
mtd: mxc_nand: put ecc layout into devtype structs

This commit makes problems on v1 and v2 regarding 4KiBpages more obvious.
As I don't have a 4KiB flash handy I just keep the status quo.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c