Skip to content
Commit 1e2dbdef authored by Jingchang Lu's avatar Jingchang Lu Committed by Vinod Koul
Browse files

dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model



The offset of all 8-/16-bit registers 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 stored in memory
in little endian independent of the register endian model, the eDMA engine
will do the swap if need.

This patch also use regular assignment for tcd variables r/w
instead of with io function previously that may not always be true.

Signed-off-by: default avatarJingchang Lu <jingchang.lu@freescale.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 6ab55b21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment