aboutsummaryrefslogtreecommitdiff
path: root/include/cedit.h
diff options
context:
space:
mode:
authorSimon Glass2023-08-14 16:40:38 -0600
committerTom Rini2023-08-25 13:54:33 -0400
commitcfc402db3954d7c852c322b232ad6d8842af6bf1 (patch)
tree3e5eed7152cec2c46766d5b3dac2b9e2db9df27a /include/cedit.h
parenteb6c71b56282d3054dbffb83793e7d2c6745578e (diff)
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 'include/cedit.h')
-rw-r--r--include/cedit.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cedit.h b/include/cedit.h
index 2970965b5f6..f43cafa5aa2 100644
--- a/include/cedit.h
+++ b/include/cedit.h
@@ -110,4 +110,16 @@ int cedit_read_settings_env(struct expo *exp, bool verbose);
int cedit_write_settings_cmos(struct expo *exp, struct udevice *dev,
bool verbose);
+/**
+ * cedit_read_settings_cmos() - Read settings from CMOS RAM
+ *
+ * Read settings from the defined places in CMO RAM
+ *
+ * @exp: Expo to read settings into
+ * @dev: RTC device to read settings from
+ * @verbose: true to print a summary at the end
+ */
+int cedit_read_settings_cmos(struct expo *exp, struct udevice *dev,
+ bool verbose);
+
#endif /* __CEDIT_H */