diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bootflow.h | 10 | ||||
-rw-r--r-- | include/bootstd.h | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/bootflow.h b/include/bootflow.h index e7a09568f1..c201246c6d 100644 --- a/include/bootflow.h +++ b/include/bootflow.h @@ -7,6 +7,7 @@ #ifndef __bootflow_h #define __bootflow_h +#include <dm/ofnode_decl.h> #include <linux/list.h> struct bootstd_priv; @@ -348,6 +349,15 @@ int bootflow_iter_uses_system(const struct bootflow_iter *iter); int bootflow_menu_new(struct expo **expp); /** + * bootflow_menu_apply_theme() - Apply a theme to a bootmenu + * + * @exp: Expo to update + * @node: Node containing the theme information + * Returns 0 on success, -ve on error + */ +int bootflow_menu_apply_theme(struct expo *exp, ofnode node); + +/** * bootflow_menu_run() - Create and run a menu of available bootflows * * @std: Bootstd information diff --git a/include/bootstd.h b/include/bootstd.h index 01be249d16..4fa0d53100 100644 --- a/include/bootstd.h +++ b/include/bootstd.h @@ -9,6 +9,8 @@ #ifndef __bootstd_h #define __bootstd_h +#include <dm/ofnode_decl.h> + struct udevice; /** @@ -27,6 +29,7 @@ struct udevice; * @bootmeth_count: Number of bootmeth devices in @bootmeth_order * @bootmeth_order: List of bootmeth devices to use, in order, NULL-terminated * @vbe_bootmeth: Currently selected VBE bootmeth, NULL if none + * @theme: Node containing the theme information */ struct bootstd_priv { const char **prefixes; @@ -37,6 +40,7 @@ struct bootstd_priv { int bootmeth_count; struct udevice **bootmeth_order; struct udevice *vbe_bootmeth; + ofnode theme; }; /** |