]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: atmel_nand: replace memcpy32_toio/memcpy32_fromio with memcpy
authorWu, Josh <Josh.wu@atmel.com>
Fri, 7 Nov 2014 07:26:09 +0000 (15:26 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 26 Nov 2014 07:22:28 +0000 (23:22 -0800)
commit068b44b714952092e0791b321b05be79de9baa1e
tree64a708a360bbff738bdb80ab8e8c5629d2cf56ad
parent6710247706bfc4e6ad22a124c097964bb713fb8d
mtd: atmel_nand: replace memcpy32_toio/memcpy32_fromio with memcpy

There is no need to use memcpy32_toio/memcpy32_fromio to transfer data
between memory and NFC sram. As the NFC sram is a also a memory space
not an I/O space, we can just use memcpy().

We remove the __iomem prefix for NFC sram to avoid sparse warnings.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/atmel_nand.c