[U-Boot] [RFC] 0/4] Add Pl330 DMA support

Dinh Nguyen
2016-10-14T22:13:58Z

On 10/14/2016 10:09 AM, Marek Vasut wrote:
> On 10/14/2016 03:08 PM, Dinh Nguyen wrote:
>>
>>
>> On 10/14/2016 02:23 AM, Marek Vasut wrote:
>>> On 10/10/2016 05:52 PM, Dinh Nguyen wrote:
>>>> Hi,
>>>
>>> Hi,
>>>
>>>> This patchset adds the PL330 DMA driver to U-Boot. The SoCFPGA platform makes
>>>> use of the PL330 to transfer zereos to the SDRAM which enables the ECC bit.
>>>
>>> Is there some considerable performanCONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCENce benefit over memset() in this case ?
>>>
>>
>> Yes, with the DMA, it takes ~1.5 secs, with memset, it's ~15 secs.
>
> Understood, thanks. I hope the scrubbing can be disabled in non-ECC case ?
>

Yes, the scrubbing is only done if CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN
== 1.

Dinh