aboutsummaryrefslogtreecommitdiffstats
path: root/doc/usage/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-14 16:40:38 -0600
committerTom Rini <trini@konsulko.com>2023-08-25 13:54:33 -0400
commitcfc402db3954d7c852c322b232ad6d8842af6bf1 (patch)
tree3e5eed7152cec2c46766d5b3dac2b9e2db9df27a /doc/usage/cmd
parenteb6c71b56282d3054dbffb83793e7d2c6745578e (diff)
downloadu-boot-cfc402db3954d7c852c322b232ad6d8842af6bf1.tar.gz
expo: cedit: Support reading settings from CMOS RAM
Add a command to read edit settings from CMOS RAM, using the cedit definition to indicate which registers and bits are used. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r--doc/usage/cmd/cedit.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/usage/cmd/cedit.rst b/doc/usage/cmd/cedit.rst
index 3d6f26e631d..f415b48699e 100644
--- a/doc/usage/cmd/cedit.rst
+++ b/doc/usage/cmd/cedit.rst
@@ -135,7 +135,14 @@ This shows writing to CMOS RAM. Notice that the bytes at 80 and 84 change::
=> rtc read 80 8
00000080: 00 00 00 00 00 2f 2a 08 ...../*.
- => cedit write_cmos
+ => cedit write_cmos -v
Write 2 bytes from offset 80 to 84
=> rtc read 80 8
00000080: 01 00 00 00 08 2f 2a 08 ...../*.
+ => cedit read_cmos -v
+ Read 2 bytes from offset 80 to 84
+
+Here is an example with the device specified::
+
+ => cedit write_cmos rtc@43
+ =>