cmd/dma: implement dmareset command
authorbriansune <briansune@gmail.com>
Tue, 23 Sep 2025 18:12:54 +0000 (02:12 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 7 Oct 2025 23:49:15 +0000 (17:49 -0600)
commit92dcb3ad5d98f494b2448a7345e1cb7eefa50278
tree238b28fd64c08a61aeb66c3017e64d075e0a8099
parente560735558e313be8e883f9efcf729997df8b30e
cmd/dma: implement dmareset command

This adds a new U-Boot command 'c5_pl330_dma' for Cyclone V SoCDK
boards. It provides access to the Reset Manager's Per2ModRst register
to release the reset for ARM PrimeCell PL330 DMA channels. This allows
software to initialize and use the PL330 DMA controller properly after
reset.

Signed-off-by: Brian Sune <briansune@gmail.com>
[trini: Minor style fixes]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig
cmd/Makefile
cmd/c5_pl330_dma.c [new file with mode: 0644]