]> 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)
commite2f27e6ad2c0a8f1ffb24b7c33453b1bc3396124
treefc37be0505a74d27df25111f851843ea271c9eb2
parent428b9d5c27008e624d8e97ce9278e0f3beb84d18
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