]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 16 Aug 2011 13:46:02 +0000 (16:46 +0300)
commit81feba6ec43714a0569aa836001c2b8e0912df4f
tree0fc42b0fbe855010684d17f4476725912ac327fa
parent1579ebb6f1e57866f86ceced4a3dd68258810dc5
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