[PATCH v2] mtd: atmel_nand: replace memcpy32_toio/memcpy32_fromio with memcpy
Brian Norris
computersforpeace at gmail.com
Tue Nov 25 23:24:37 PST 2014
On Fri, Nov 07, 2014 at 03:26:09PM +0800, Josh Wu wrote:
> 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 memery space
> not a io space.
> So just use memcpy is enough.
>
> Also we removed the __iomem prefix for NFC sram to avoid sparse warnings.
>
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> Reviewed-by: Brian Norris <computersforpeace at gmail.com>
> ---
> v1 -> v2:
> 1. fix sparse warnings.
> 2. remove __iomem prefix for sram_bank0.
Applied to l2-mtd.git.
Brian
More information about the linux-mtd
mailing list