diff options
| author | Simon Glass <[email protected]> | 2023-08-14 16:40:37 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-25 13:54:33 -0400 |
| commit | eb6c71b56282d3054dbffb83793e7d2c6745578e (patch) | |
| tree | 0ad2e2b829a5afca3442eb2f58b09a6fb635b582 /doc/develop | |
| parent | bcf2b7202e960e7fb3df8d5e8ed0d6fa00a5a9fa (diff) | |
expo: cedit: Support writing settings to CMOS RAM
Add a command to write cedit settings to CMOS RAM so that it can be
preserved across a reboot. This uses a simple bit-encoding, where each
field has a 'bit position' and a 'bit length' in the schema.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
| -rw-r--r-- | doc/develop/expo.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/develop/expo.rst b/doc/develop/expo.rst index fde91494799..61b6855c72f 100644 --- a/doc/develop/expo.rst +++ b/doc/develop/expo.rst @@ -317,6 +317,18 @@ id Specifies the ID of the object. This is used when referring to the object. +Where CMOS RAM is used for reading and writing settings, the following +additional properties are required: + +start-bit + Specifies the first bit in the CMOS RAM to use for this setting. For a RAM + with 0x100 bytes, there are 0x800 bit locations. For example, register 0x80 + holds bits 0x400 to 0x407. + +bit-length + Specifies the number of CMOS RAM bits to use for this setting. The bits + extend from `start-bit` to `start-bit + bit-length - 1`. Note that the bits + must be contiguous. Menu nodes have the following additional properties: @@ -474,6 +486,7 @@ Some ideas for future work: - 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 <[email protected]> .. 7-Oct-22 |
