aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/usage/base.rst23
-rw-r--r--doc/usage/index.rst1
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/usage/base.rst b/doc/usage/base.rst
new file mode 100644
index 0000000000..db9cd4d978
--- /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