[U-Boot] [PATCH 0/6] add dma uclass implementation and adopt ti-edma3 to it

Mugunthan V N mugunthanvnm at ti.com
Tue Dec 1 12:13:12 CET 2015


This patch series enables adds support for DMA driver model and
to adopt driver model. This has been tested on am437x-sk evms
(logs [1]).
Also pushed a branch for testing [2]

[1]: http://pastebin.ubuntu.com/13596990/
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-dma

Mugunthan V N (6):
  dm: implement a DMA uclass
  dma: Kconfig: Add TI_EDMA3 entry
  sf: sf_ops: use dma to copy data from mmap region if platform supports
  spi: ti_qspi: compile out spi_flash_copy_mmap when DM_DMA is defined
  drivers: dma: ti-edma3: convert driver to adopt driver model
  defconfig: am437x_sk_evm: enable dma driver model

 configs/am437x_sk_evm_defconfig |  1 +
 drivers/dma/Kconfig             | 22 ++++++++++++
 drivers/dma/Makefile            |  2 ++
 drivers/dma/dma-uclass.c        | 63 ++++++++++++++++++++++++++++++++++
 drivers/dma/ti-edma3.c          | 75 +++++++++++++++++++++++++++++++++++++++--
 drivers/mtd/spi/sf_ops.c        |  5 +++
 drivers/spi/ti_qspi.c           |  2 +-
 include/dm/uclass-id.h          |  1 +
 include/dma.h                   | 64 +++++++++++++++++++++++++++++++++++
 9 files changed, 232 insertions(+), 3 deletions(-)
 create mode 100644 drivers/dma/dma-uclass.c
 create mode 100644 include/dma.h

-- 
2.6.3.368.gf34be46



More information about the U-Boot mailing list