[U-Boot] [U-Boot PATCH v2 00/10] Enable edma support for ti-qspi

Vignesh R vigneshr at ti.com
Thu Jul 30 07:34:33 CEST 2015


This patch series enables DMA for QSPI on dra7xx and am43xx.
Patch 1 and 2 make sure the buffers are mem aligned for dma operation.
Patch 3-6 add support for enabling and disabling of edma3 clocks on
am43xx and dra7xx. Patch 7-9 add dma functionality to ti_qspi driver.
Patch 10 enable edma3 support in dra7xx config files.

Tested on DRA74 EVM: http://pastebin.ubuntu.com/11813977/

changes in v2:
* Move edma related code to edma driver instead of handling it in
  ti-qspi driver.

v1: https://www.mail-archive.com/u-boot@lists.denx.de/msg176479.html


Kishon Vijay Abraham I (2):
  ARM: AM43xx: Add support for disabling clocks in uboot
  ARM: OMAP5: Add support for disabling clocks in uboot

Ravi Babu (2):
  sf: allocate cache aligned buffers to copy from flash
  env: use cache line aligned memory for flash read

Tom Rini (1):
  sf: ops: Add spi_flash_copy_mmap function

Vignesh R (5):
  ARM: OMAP5: Add functions to enable and disable EDMA3 clocks
  ARM: AM43XX: Add functions to enable and disable EDMA3 clocks
  dma: ti-edma3: Add helper function to support edma3 transfer
  spi: ti_qspi: Use DMA to read from qspi flash
  ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

 arch/arm/cpu/armv7/am33xx/clock.c              | 52 +++++++++++++++++
 arch/arm/cpu/armv7/am33xx/clock_am43xx.c       | 36 ++++++++++++
 arch/arm/cpu/armv7/omap-common/clocks-common.c | 53 +++++++++++++++++
 arch/arm/cpu/armv7/omap5/hw_data.c             | 41 ++++++++++++++
 arch/arm/cpu/armv7/omap5/prcm-regs.c           |  4 ++
 arch/arm/include/asm/arch-am33xx/clock.h       |  1 +
 arch/arm/include/asm/arch-omap5/hardware.h     |  5 ++
 arch/arm/include/asm/omap_common.h             | 13 +++++
 arch/arm/include/asm/ti-common/ti-edma3.h      |  2 +
 common/cmd_sf.c                                |  6 +-
 common/env_sf.c                                | 11 ++--
 drivers/dma/ti-edma3.c                         | 78 ++++++++++++++++++++++++++
 drivers/mtd/spi/sf_ops.c                       |  8 ++-
 drivers/spi/ti_qspi.c                          | 23 ++++++++
 include/configs/dra7xx_evm.h                   |  2 +
 include/spi.h                                  |  3 +
 16 files changed, 329 insertions(+), 9 deletions(-)

-- 
2.5.0



More information about the U-Boot mailing list