public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC] 0/4] Add Pl330 DMA support
@ 2016-10-10 15:52 Dinh Nguyen
  2016-10-10 15:52 ` [U-Boot] [RFC 1/4] drivers: dma: Add the ARM PL330 DMA driver Dinh Nguyen
                   ` (5 more replies)
  0 siblings, 6 replies; 31+ messages in thread
From: Dinh Nguyen @ 2016-10-10 15:52 UTC (permalink / raw)
  To: u-boot

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.

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

-- 
2.8.3

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2016-11-04 20:56 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-10 15:52 [U-Boot] [RFC] 0/4] Add Pl330 DMA support Dinh Nguyen
2016-10-10 15:52 ` [U-Boot] [RFC 1/4] drivers: dma: Add the ARM PL330 DMA driver Dinh Nguyen
2016-10-12 16:04   ` Chin Liang See
2016-10-10 15:52 ` [U-Boot] [RFC 2/4] dma: Kconfig: Add CONFIG_PL330_DMA entry Dinh Nguyen
2016-10-12 16:05   ` Chin Liang See
2016-10-14 15:17   ` Marek Vasut
2016-10-10 15:52 ` [U-Boot] [RFC 3/4] dm: add DMA_SUPPORTS_DEV_TO_MEM type to DMA_UCLASS Dinh Nguyen
2016-10-13  0:03   ` Simon Glass
2016-10-14 15:20   ` Marek Vasut
2016-10-10 15:52 ` [U-Boot] [RFC 4/4] arm: socfpga: scrub the SDRAM to properly enable ECC support Dinh Nguyen
2016-10-12 16:13   ` Chin Liang See
2016-10-16 16:03   ` Marek Vasut
2016-10-14  7:23 ` [U-Boot] [RFC] 0/4] Add Pl330 DMA support Marek Vasut
2016-10-14 13:08   ` Dinh Nguyen
2016-10-14 15:09     ` Marek Vasut
2016-10-14 22:13       ` Dinh Nguyen
2016-10-15 16:43         ` Marek Vasut
2016-10-14 22:10 ` Dinh Nguyen
2016-10-16 15:59   ` Marek Vasut
2016-10-18 15:50     ` Dinh Nguyen
2016-10-18 18:36       ` Marek Vasut
2016-10-29 19:59       ` Marek Vasut
2016-11-01 15:43         ` Dinh Nguyen
2016-11-01 20:09           ` Marek Vasut
2016-11-01 20:39             ` Dinh Nguyen
2016-11-01 20:42               ` Marek Vasut
2016-11-01 20:43                 ` Dinh Nguyen
2016-11-02 16:30                   ` Dinh Nguyen
2016-11-02 20:47                     ` Marek Vasut
2016-11-03 14:21                       ` Dinh Nguyen
2016-11-04 20:56                         ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox