summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/write.rst
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2023-03-02 09:12:23 +0100
committerTom Rini <trini@konsulko.com>2023-03-17 16:10:42 -0400
commit2bec5480522298c99d04b7600d300a83b318a0d5 (patch)
treefa27fee6e4fa53049eb2bdcf4a64d5216f907abd /doc/usage/cmd/write.rst
parent8311ac5fe0831ae26ffb68fab6b927b18d7036d2 (diff)
downloadu-boot-2bec5480522298c99d04b7600d300a83b318a0d5.tar.gz
doc: document read/write commands
The read and write commands are, deliberately, implemented in the same file, so that they stay feature-compatible (e.g. if someone implements support for "read the full partition, however large that is", that same syntax should also work for write). In order to ensure the documentation for both are similarly kept in sync, and to avoid duplication, document them both in read.rst, and add a stub write.rst referring to read.rst. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/usage/cmd/write.rst')
-rw-r--r--doc/usage/cmd/write.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/usage/cmd/write.rst b/doc/usage/cmd/write.rst
new file mode 100644
index 0000000000..c16870d6dc
--- /dev/null
+++ b/doc/usage/cmd/write.rst
@@ -0,0 +1,6 @@
+.. SPDX-License-Identifier: GPL-2.0-or-later:
+
+write command
+=============
+
+See :doc:`read`.