summaryrefslogtreecommitdiff
path: root/doc/usage/cmd
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-08-14 16:40:34 -0600
committerTom Rini <[email protected]>2023-08-25 13:54:33 -0400
commit472317cb12e534f56b631365987934960dfb0a3f (patch)
tree3ac102f38603af6ee02075c0743bb08f824119dd /doc/usage/cmd
parent2dee81fe5f4a6427ba48fe17ff017930ddf3b4e4 (diff)
expo: cedit: Support reading settings from a file
Add a command to read cedit settings from a devicetree file. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r--doc/usage/cmd/cedit.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/usage/cmd/cedit.rst b/doc/usage/cmd/cedit.rst
index 0581594831f..0a9f620b59b 100644
--- a/doc/usage/cmd/cedit.rst
+++ b/doc/usage/cmd/cedit.rst
@@ -11,6 +11,7 @@ Synopis
cedit load <interface> <dev[:part]> <filename>
cedit run
cedit write_fdt <dev[:part]> <filename>
+ cedit read_fdt <dev[:part]> <filename>
Description
-----------
@@ -45,6 +46,11 @@ cedit write_fdt
Writes the current user settings to a devicetree file. For each menu item the
selected ID and its text string are written.
+cedit read_fdt
+~~~~~~~~~~~~~~
+
+Reads the user settings from a devicetree file and updates the cedit with those
+settings.
Example
-------
@@ -65,3 +71,5 @@ That results in::
power-loss-str = "Always Off";
};
}
+
+ => cedit read_fdt hostfs - settings.dtb