From: Ludovic Desroches Date: Thu, 11 Aug 2011 15:25:44 +0000 (+0000) Subject: mmc: atmel-mci: add pdc support and runtime capabilities detection X-Git-Tag: v3.2-rc1~129^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=796211b7953bd1036670359f31cd97f309322107;p=pandora-kernel.git mmc: atmel-mci: add pdc support and runtime capabilities detection Add pdc support for atmel-mci. It makes at91-mci driver useless because it was only used for the old atmel MCI core which has pdc but no dma support. To allow removing at91-mci, the capabilities of the MCI core are detected at runtime -- then the driver will use pio, pdc or dma transfers. Warning: at91rm9200 is not supported, to support it we need to use swab32 on data but I have no board to test it. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre Signed-off-by: Chris Ball --- Reading git-diff-tree failed