[U-Boot] [PATCH 0/5] Add DMA driver for DMA330 controller

Marek Vasut marex at denx.de
Thu May 31 09:24:55 UTC 2018


On 05/31/2018 10:08 AM, tien.fong.chee at intel.com wrote:
> From: Tien Fong Chee <tien.fong.chee at intel.com>
> 
> This patchset contains dm driver for DMA330 controller.
> 
> This series is working on top of u-boot-socfpga.git -
>  http://git.denx.de/u-boot.git .
> 
> Tien Fong Chee (5):
>   drivers: dma: Enable DMA-330 driver support
>   drivers: dma: Add function to zeroes a range of destination such as
>     memory
>   drivers: dma: Factor out dma_get_device from DMA class function
>   include: dma: Update the function description for dma_memcpy
>   arm: dts: socfpga: stratix10: update pdma
> 
>  arch/arm/dts/socfpga_stratix10.dtsi |   20 +
>  drivers/dma/Kconfig                 |    9 +-
>  drivers/dma/Makefile                |    1 +
>  drivers/dma/dma-uclass.c            |   23 +-
>  drivers/dma/dma330.c                | 1514 +++++++++++++++++++++++++++++++++++
>  drivers/mtd/spi/spi_flash.c         |    9 +-
>  include/dma.h                       |   19 +-
>  include/dma330.h                    |  136 ++++
>  8 files changed, 1719 insertions(+), 12 deletions(-)
>  create mode 100644 drivers/dma/dma330.c
>  create mode 100644 include/dma330.h
> 
I presume this is to zero-out the ECC RAM ? Just enable caches and use
memset, it is much faster than this DMA witchcraft, at least on the A10.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list