]> git.karo-electronics.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)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 30 Aug 2012 06:27:46 +0000 (09:27 +0300)
commita158414d6aa490d9a97f7b7de69dba8313178640
tree5d72fccb1c96d6c2188e22df79cff13be5bff6e2
parent578b4a068d454b36f1327e14545a561d18066279
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>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h