[PATCH] MTD: atmel_nand: Add DMA support to access Nandflash

Peter Korsgaard jacmet at sunsite.dk
Fri Jan 14 06:43:52 EST 2011


>>>>> "Hong" == Hong Xu <hong.xu at atmel.com> writes:

 Hong> Some SAM9 chips have the ability to perform DMA between CPU and
 Hong> SMC controller.  This patch adds DMA support for SAM9RL, SAM9G45,
 Hong> SSAM9G46,AM9M10, SAM9M11.

 Hong> Signed-off-by: Hong Xu <hong.xu at atmel.com>

But mtd buffers are not guaranteed to be DMA safe (E.G. might come from
vmalloc), so you'll need to walk the page tables.

-- 
Bye, Peter Korsgaard



More information about the linux-mtd mailing list