summaryrefslogtreecommitdiff
path: root/test/boot/files
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-08-14 16:40:37 -0600
committerTom Rini <[email protected]>2023-08-25 13:54:33 -0400
commiteb6c71b56282d3054dbffb83793e7d2c6745578e (patch)
tree0ad2e2b829a5afca3442eb2f58b09a6fb635b582 /test/boot/files
parentbcf2b7202e960e7fb3df8d5e8ed0d6fa00a5a9fa (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 'test/boot/files')
-rw-r--r--test/boot/files/expo_layout.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/boot/files/expo_layout.dts b/test/boot/files/expo_layout.dts
index 913140bace9..cb2a674d9d5 100644
--- a/test/boot/files/expo_layout.dts
+++ b/test/boot/files/expo_layout.dts
@@ -38,6 +38,9 @@
/* IDs for the menu items */
item-id = <ID_CPU_SPEED_1 ID_CPU_SPEED_2
ID_CPU_SPEED_3>;
+
+ start-bit = <0x400>;
+ bit-length = <2>;
};
power-loss {
@@ -49,6 +52,8 @@
"Memory";
item-id = <ID_AC_OFF ID_AC_ON ID_AC_MEMORY>;
+ start-bit = <0x422>;
+ bit-length = <2>;
};
};
};