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>
This commit is contained in:
Rasmus Villemoes
2023-03-02 09:12:23 +01:00
committed by Tom Rini
parent 8311ac5fe0
commit 2bec548052
3 changed files with 52 additions and 0 deletions

6
doc/usage/cmd/write.rst Normal file
View File

@@ -0,0 +1,6 @@
.. SPDX-License-Identifier: GPL-2.0-or-later:
write command
=============
See :doc:`read`.