Zynq UltraScale MPSoC, DMA driver

Michal Simek michal.simek at xilinx.com
Tue Jun 8 13:04:46 CEST 2021


Hi,

On 6/7/21 8:41 PM, Jorge Ramirez-Ortiz, Foundries wrote:
> On 07/06/21, Jorge Ramirez-Ortiz, Foundries wrote:
>> hi Michal
>>
>> um, when we exchanged emails about enabling ECC support for MPSoC, I
>> left with the understanding that there already was a DMA driver
>> available in u-boot that I could use to initialize the memory.
>>
>> do you have something in the works or will I have to write such a
>> driver? compatible would be 'xlnx,zynqmp-dma-1.0'
> 
> alternatively, would it be acceptable - upstream - If I just init ECC
> as done by FSBL (ie, without a proper DMA driver, just accessing the
> controller)?

There are 2 things here.
The first thing that would be the best to do it proper framework which
is likely dma where dma_memset should be likely added.
The second that this code should land in SPL which can't be big that's
why this feature should be very small.

Based on above I think that would be good to have long term both of them
in the tree. It means feel free to send short version and let's look at
it and dma one should be hopefully pretty much using the same code via
dma framework.

Thanks,
Michal



More information about the U-Boot mailing list