]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita36b54cd6019dfc2d14be4146b62ccfb35e340a6
tree7a97e24c5edb22845f28e3d1aa439a5a8286275c
parent504b3d22e26b7f0ab25efdaed13210f8ad2d6f43
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