diff mbox series

[1/1] doc: man-page base command

Message ID 20201231144639.35812-1-xypron.glpk@gmx.de
State Accepted
Commit 5ff13572275bb7cea4854fa52e9f882c94c10aa3
Delegated to: Tom Rini
Headers show
Series [1/1] doc: man-page base command | expand

Commit Message

Heinrich Schuchardt Dec. 31, 2020, 2:46 p.m. UTC
Provide a description of the base command.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 doc/usage/base.rst  | 23 +++++++++++++++++++++++
 doc/usage/index.rst |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 doc/usage/base.rst

--
2.29.2

Comments

Simon Glass Jan. 7, 2021, 12:35 p.m. UTC | #1
On Thu, 31 Dec 2020 at 07:46, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Provide a description of the base command.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  doc/usage/base.rst  | 23 +++++++++++++++++++++++
>  doc/usage/index.rst |  1 +
>  2 files changed, 24 insertions(+)
>  create mode 100644 doc/usage/base.rst
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/doc/usage/base.rst b/doc/usage/base.rst
new file mode 100644
index 0000000000..3f49f2e5ae
--- /dev/null
+++ b/doc/usage/base.rst
@@ -0,0 +1,23 @@ 
+.. SPDX-License-Identifier: GPL-2.0+
+
+base command
+============
+
+Synopsis
+--------
+
+::
+
+    base [address]
+
+Description
+-----------
+
+The *base* command sets or displays the address offset used by the memory
+commands *cmp, cp, md, mdc, mm, ms, mw, mwc*.
+
+All other commands ignore the address defined by *base*.
+
+address
+    new base address as hexadecimal number. If no value is provided, the current
+    value is displayed.
diff --git a/doc/usage/index.rst b/doc/usage/index.rst
index fbb2c0481c..57bf4fe851 100644
--- a/doc/usage/index.rst
+++ b/doc/usage/index.rst
@@ -11,6 +11,7 @@  Shell commands
 .. toctree::
    :maxdepth: 1

+   base
    bootefi
    bootmenu
    button