mtd: fsmc_nand: ECC1 & ECC4 layout separated for different page sizes
authorBhavna Yadav <bhavna.yadav@st.com>
Wed, 7 Mar 2012 11:30:50 +0000 (17:00 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:45:11 +0000 (00:45 +0100)
commite29ee57b1d33abf119cb332a3d8fa69c9cd39096
treef8881c9d9da82ac69c9348fa5860811d10d437bd
parent519300cfe18ee8dcf0b1e7a38564b61b70e4ee86
mtd: fsmc_nand: ECC1 & ECC4 layout separated for different page sizes

ECC1 & ECC4 layout for NAND of different pages sizes for e.g. 512bytes,
2KiB, 4KiB and 8KiB are separated. Previously there existed one ECC4
layout for 2KiB & 4KiB page size due to which oob test module available
in drivers/mtd/nand/test was failing.

Signed-off-by: Bhavna Yadav <bhavna.yadav@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c