]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: Added a device flag for subpage read support
authorJeff Westfahl <jeff.westfahl@ni.com>
Mon, 13 Aug 2012 21:35:30 +0000 (16:35 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:28:33 +0000 (15:28 +0100)
commita5ff4f102937a3492bca4a9ff0c341d78813414c
treee2fb4a1b059243f92eec02cf5f0b41f869f48424
parent32098f6af02754b357ce303afd1bd00a470f906c
mtd: nand: Added a device flag for subpage read support

Added a NAND device flag for subpage read support. Previously this was
hard coded based on large page and soft ECC.
Updated base NAND driver to use the new subpage read flag if the NAND is
large page and soft ECC.

Signed-off-by: Jeff Westfahl <jeff.westfahl@ni.com>
Reviewed-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/nand_base.c
include/linux/mtd/nand.h