mtd: sh_flctl: Group sector accesses into a single transfer
authorBastian Hecht <hechtb@googlemail.com>
Mon, 14 May 2012 12:14:45 +0000 (14:14 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:04 +0000 (18:17 +0100)
commit623c55caa37203ece6b4450daa0d2d058255da30
tree7a97e24c5edb22845f28e3d1aa439a5a8286275c
parent50ed399cc3fbe5e16de78f7b62a39b8280f9001b
mtd: sh_flctl: Group sector accesses into a single transfer

When we use hardware ecc, the flctl is run in so-called "sector access
mode". We can bundle 4 sector accesses when using 2KiB page sizes to read
a whole page at once and speed up things.

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