mtd: sh_flctl: Fix hardware ECC behaviour
authorBastian Hecht <hechtb@googlemail.com>
Mon, 14 May 2012 12:14:43 +0000 (14:14 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:03 +0000 (18:17 +0100)
commitef4ce0bcb3c91375d2bdefd7a0e2fead95c97620
tree2be3ac4eb032f79b1abb91424e3257487102e170
parentaa32d1f0601ac2f5f69520175b8d2cea42caa025
mtd: sh_flctl: Fix hardware ECC behaviour

The flctl uses 10 bytes ECC data for every 512 bytes sector. This patch
makes the controller write all 40 bytes instead of 10 bytes only.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/sh_flctl.c