[U-Boot] [RFC] 0/4] Add Pl330 DMA support
Marek Vasut
marex at denx.de
Fri Oct 14 09:23:28 CEST 2016
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 performance benefit over memset() in this case ?
> This is only an RFC because after rebasing to v2016.11-rc1, I had to revert
> the following patch "a78cd8613204 ARM: Rework and correct barrier definitions"
> in order for this patch set to work correctly. With the above patch applied,
> after the SDRAM scrubbing is complete, the SPL is failing to find the MMC
> device.
>
> I'm continue to debug this, but would like to solicit comments with this
> patchset.
>
> Thanks,
> Dinh
>
>
> Dinh Nguyen (4):
> drivers: dma: Add the ARM PL330 DMA driver
> dma: Kconfig: Add CONFIG_PL330_DMA entry
> dm: add DMA_SUPPORTS_DEV_TO_MEM type to DMA_UCLASS
> arm: socfpga: scrub the SDRAM to properly enable ECC support
>
> arch/arm/include/asm/pl330.h | 105 +++
> arch/arm/mach-socfpga/include/mach/reset_manager.h | 21 +
> arch/arm/mach-socfpga/include/mach/sdram.h | 2 +
> arch/arm/mach-socfpga/spl.c | 8 +
> arch/arm/mach-socfpga/wrap_sdram_config.c | 28 +
> configs/socfpga_cyclone5_defconfig | 2 +
> drivers/dma/Kconfig | 4 +
> drivers/dma/Makefile | 1 +
> drivers/dma/dma-uclass.c | 3 +-
> drivers/dma/pl330.c | 942 +++++++++++++++++++++
> 10 files changed, 1115 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/include/asm/pl330.h
> create mode 100644 drivers/dma/pl330.c
>
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list