summaryrefslogtreecommitdiff
path: root/doc/usage/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-20 08:27:19 -0600
committerTom Rini <[email protected]>2025-10-20 08:27:19 -0600
commit45e02b3fc6a9fdfa9ba7d4c16e5771c2ef6773d5 (patch)
treec5de06b61d2285fcd9eb4836fc4fca283cf1c910 /doc/usage/cmd
parenta58089ad2e41e88f81360f0e99bfd0715aceb556 (diff)
parentdbac24b7137b7d1576aead857850121af92f0a51 (diff)
Merge tag 'efi-2026-01-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2026-01-rc1 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/27944 Documentation: * samsung: Extend E850-96 documentation to be comprehensive * environment: fix links to Linux kernel documentation * sandbox: fix typos * document dmareset command * ti: j722s_evm: drop outdated boot note UEFI: * Prevent leak of memory from tmp_files * Correctly check if the HTTP protocol is found * Use ESRT_FW_TYPE_SYSTEMFIRMWARE instead of ESRT_FW_TYPE_UNKNOWN * dbginfodump: use guid definition Others: * lib/uuid: add support for efi debug image info table guid
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r--doc/usage/cmd/dmareset.rst55
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/usage/cmd/dmareset.rst b/doc/usage/cmd/dmareset.rst
new file mode 100644
index 00000000000..ab06979251b
--- /dev/null
+++ b/doc/usage/cmd/dmareset.rst
@@ -0,0 +1,55 @@
+.. SPDX-License-Identifier: GPL-2.0-or-later
+
+.. index::
+ single: dmareset (command)
+
+dmareset command
+================
+
+Synopsis
+--------
+
+::
+
+ Usage: dmareset <channel 0-7> [<channel 0-7> ...]
+ dmareset - Release PL330 DMA channel reset(s) for SoCFPGA
+
+ Usage:
+ dmareset <channel 0-7> [<channel 0-7> ...] - release reset for one or more DMA channels
+
+Description
+-----------
+
+Release the DMA channel reset *channel*.
+
+Parameters
+----------
+
+channel
+ DMA channel number
+
+Example
+-------
+
+Release DMA channel(s)::
+
+ => dmareset 0
+ PL330 DMA channel 0 reset released
+ => dmareset 1
+ PL330 DMA channel 1 reset released
+ => dmareset 0 1
+ PL330 DMA channel 0 reset released
+ PL330 DMA channel 1 reset released
+
+
+Configuration
+-------------
+
+The dmareset command is only available if CONFIG_CMD_C5_PL330_DMA=y in
+"Shell scripting commands".
+
+Return value
+------------
+
+If the command succeeds, the return value $? is set to 0 (true).
+If an error occurs, the return value $? is set to 1 (false).