Re: [PATCH v2 1/2] dw_dmac: make driver endianness configurable

From: Arnd Bergmann
Date: Thu Aug 30 2012 - 15:57:10 EST


On Thursday 30 August 2012, Hein Tibosch wrote:
> The dw_dmac was originally developed for avr32 to be used with the
> Synopsys DesignWare AHB DMA controller. After 2.6.38, device access was done
> with the little-endian readl/writel functions. This didn't work on the
> avr32 platform, because it needs native-endian (i.e. big-endian) accessors.
> This patch makes the endianness configurable using 'DW_DMAC_BIG_ENDIAN_IO',
> which will default be true for AVR32
>
>
> Signed-off-by: Hein Tibosch <hein_tibosch@xxxxxxxx>

Acked-by: Arnd Bergmann <arnd.bergmann@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/