]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: sh_flctl: Use user oob data in hardware ECC mode
authorBastian Hecht <hechtb@googlemail.com>
Mon, 14 May 2012 12:14:47 +0000 (14:14 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:04 +0000 (18:17 +0100)
commit3166df0d0424ef5c742faba87775cfca99e8f2bf
tree35fe8bc14a4189956acef11e33b3b8a5a57f61fb
parent6667a6d58e25d351d8fce7a628a8c9c139a8bdc9
mtd: sh_flctl: Use user oob data in hardware ECC mode

In hardware ecc mode, the flctl now writes and reads the oob data
provided by the user. Additionally the ECC is now returned in normal
page reads, not only when using the explicit NAND_CMD_READOOB command.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Acked-by: Brian Norris <computersforpeace@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