[PATCH V2 1/1] dmaengine/amba-pl08x: Add support for s3c64xx DMAC

Viresh Kumar viresh.kumar at st.com
Wed Sep 28 05:54:41 EDT 2011


On 9/28/2011 2:20 PM, Alim Akhtar wrote:
> The main difference between Primecell PL080 and samsung variant is in
> LLI control register bit [0:11] is reserved in case of samsung pl080
> and one extra register is add to hold the transfer size at offset
> 0x10. The purpose of cctl1 is store the transfer_size.

So, actually you need to modify pl08x_fill_lli_for_desc() and
pl08x_cctl_bits() routines.

Updating cctl1 on the last lli will not solve your purpose,
and transfers needing more than one lli will fail.
BTW, did you try testing your patch for more than one LLI.

-- 
viresh



More information about the linux-arm-kernel mailing list