Add DMA driver for DMA330 controller
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 5 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 5 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/5] Add DMA driver for DMA330 controller
Quoted 31 lines · Marek Vasut
Quoted 26 lines · tien.fong.chee at intel.com
From: Tien Fong Chee <[email protected]>
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 outdma_get_devicefrom DMA class function
include: dma: Update the function description fordma_memcpy
arm: dts: socfpga: stratix10: update pdmaarch/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 ++++Quoted 4 lines
8 files changed, 1719 insertions(+), 12 deletions(-)create mode 100644
drivers/dma/dma330.c
create mode 100644include/dma330.h
Quoted 4 lines
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.
Yes and no :)
The patch enable DMA-330 support and also zero-out ECC RAM.
While for the speed, DMA still faster as it has larger burst size. We can also parallel the zero out task with other tasks such as flash controller init.
Thanks
Chin Liang