On Wed, Sep 24, 2014 at 03:12:07PM +0800, Jingchang Lu wrote:
> static void edma_writeb(struct fsl_edma_engine *edma, u8 val, void __iomem
> *addr)
> {
> - iowrite8(val, addr);
> + /* swap the reg offset for these in big-endian mode */
> + if (edma->big_endian)
> + iowrit
The offset of all 8-/16-bit register in big-endian eDMA model are
swapped in a 32-bit size opposite those in the little-endian model.
The hardware Scatter/Gather requires the subsequent TCDs in memory
to be auto loaded should retain little endian independent of the
register endian model, the dma e
2 matches
Mail list logo