diff options
author | Simon Glass | 2023-08-14 16:40:38 -0600 |
---|---|---|
committer | Tom Rini | 2023-08-25 13:54:33 -0400 |
commit | cfc402db3954d7c852c322b232ad6d8842af6bf1 (patch) | |
tree | 3e5eed7152cec2c46766d5b3dac2b9e2db9df27a /boot/scene_internal.h | |
parent | eb6c71b56282d3054dbffb83793e7d2c6745578e (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 'boot/scene_internal.h')
-rw-r--r-- | boot/scene_internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/scene_internal.h b/boot/scene_internal.h index 23e29cb349b..695a907dc6a 100644 --- a/boot/scene_internal.h +++ b/boot/scene_internal.h @@ -234,4 +234,16 @@ int expo_iter_scene_objs(struct expo *exp, expo_scene_obj_iterator iter, struct scene_menitem *scene_menuitem_find(const struct scene_obj_menu *menu, int id); +/** + * scene_menuitem_find_seq() - Find the menu item at a sequential position + * + * This numbers the items from 0 and returns the seq'th one + * + * @menu: Menu to check + * @seq: Sequence number to look for + * Return: menu item if found, else NULL + */ +struct scene_menitem *scene_menuitem_find_seq(const struct scene_obj_menu *menu, + uint seq); + #endif /* __SCENE_INTERNAL_H */ |