[PATCH 19/19] expo: doc: Update documentation for persistent settings

Simon Glass sjg at chromium.org
Tue Aug 15 00:40:39 CEST 2023


Add mention of persistent settings in the documentation.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 doc/develop/cedit.rst | 15 +++++++++++++++
 doc/develop/expo.rst  |  1 -
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/doc/develop/cedit.rst b/doc/develop/cedit.rst
index 8f0a554ae918..63dff9d3f140 100644
--- a/doc/develop/cedit.rst
+++ b/doc/develop/cedit.rst
@@ -152,3 +152,18 @@ Themes
 
 The configuration editor uses simple expo themes. The theme is read from
 `/bootstd/cedit-theme` in the devicetree.
+
+
+Reading and writing settings
+----------------------------
+
+Cedit provides several options for persistent settings:
+
+- Writing an FDT file to a filesystem
+- Writing to U-Boot's environment variables, which are then typically stored in
+  a persistent manner
+- Writing to CMOS RAM registers (common on x86 machines)
+
+For now, reading and writing settings is not automatic. See the
+:doc:`../usage/cmd/cedit` for how to do this on the command line or in a
+script.
diff --git a/doc/develop/expo.rst b/doc/develop/expo.rst
index 61b6855c72f4..f13761995d3f 100644
--- a/doc/develop/expo.rst
+++ b/doc/develop/expo.rst
@@ -485,7 +485,6 @@ Some ideas for future work:
 - Support unicode
 - Support curses for proper serial-terminal menus
 - Add support for large menus which need to scroll
-- Add support for reading and writing configuration settings with cedit
 - Update expo.py tool to check for overlapping names and CMOS locations
 
 .. Simon Glass <sjg at chromium.org>
-- 
2.41.0.694.ge786442a9b-goog



More information about the U-Boot mailing list