mtd: atmel_nand: optimize read/write buffer functions
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 4 Jul 2011 14:17:53 +0000 (16:17 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:15 +0000 (15:02 +0300)
commitfb5427508abbd635e877fabdf55795488119c2d6
treefc37be0505a74d27df25111f851843ea271c9eb2
parent57b078a09bf0ab3f0babcfe6ecb2ac226d9178be
mtd: atmel_nand: optimize read/write buffer functions

For PIO NAND access functions, we use the features of the SMC:
- no need to take into account the NAND bus width: SMC will deal with this
- use of an IO memcpy on the NAND chip-select space is able to generate
  proper SMC behavior.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
drivers/mtd/nand/atmel_nand.c