]> git.baikalelectronics.ru Git - kernel.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)
commit7698bff6c4b60d6669ebc730c60329b8f5fe7573
tree35fe8bc14a4189956acef11e33b3b8a5a57f61fb
parent9f01fd4e538ba3486990074c95f1c816756848c2
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