[MTD] [NAND] fsl_elbc_nand: ecclayout cleanups
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 27 Jun 2008 19:04:20 +0000 (23:04 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 17:17:51 +0000 (18:17 +0100)
commit0acf944c6853813ed19cdf46d4042a77dd878ab5
tree474410fe0d44276df12ac4d880968ae662f055c2
parentec6e0ea3bdf82ee9761d324c011c3627821f7410
[MTD] [NAND] fsl_elbc_nand: ecclayout cleanups

This patch deletes oobavail assignments, they're calculated by the nand
core code in nand_scan_tail, plus current oobavail values are wrong for
the LP NANDs.

Also remove mtd->ecclayout and mtd->oobavail assignments, mtd core
handles this all by itself.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c