]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd294b1f0fc1d07891c2df238cb0757b3ee02bd10
treefc37be0505a74d27df25111f851843ea271c9eb2
parentead31fabd14eacf5c7279777cfee2e92be89fd71
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