diff options
author | Simon Glass <sjg@chromium.org> | 2023-06-01 10:23:02 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-14 12:54:51 -0400 |
commit | a0874dc4ac7153f49f72c3fb818422d940ecbfea (patch) | |
tree | 301951243204c9654b3c85dc4b85db985d1e2e28 /boot/scene_internal.h | |
parent | 82cafee133ee5c087449761988c096fc26a17cf6 (diff) |
expo: Add a configuration editor
Add a new 'cedit' command which allows editing configuration using an
expo. The configuration items appear as menus on the display.
This is extremely basic, only supporting menus and not providing any way
to load or save the configuration.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/scene_internal.h')
-rw-r--r-- | boot/scene_internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/scene_internal.h b/boot/scene_internal.h index dc98ecd021..fb1ea5533b 100644 --- a/boot/scene_internal.h +++ b/boot/scene_internal.h @@ -41,6 +41,14 @@ uint resolve_id(struct expo *exp, uint id); void *scene_obj_find(struct scene *scn, uint id, enum scene_obj_t type); /** + * scene_obj_find_by_name() - Find an object in a scene by name + * + * @scn: Scene to search + * @name: Name to search for + */ +void *scene_obj_find_by_name(struct scene *scn, const char *name); + +/** * scene_obj_add() - Add a new object to a scene * * @scn: Scene to update |