summaryrefslogtreecommitdiff
path: root/include/bootstd.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-06 17:52:42 +0300
committerTom Rini <trini@konsulko.com>2023-01-17 02:26:51 +0300
commite64c29521c0e6111b446fd67e85c6dd3d491103c (patch)
treea50e37bd6cb9fde926a7fcbbb4e32d2effb53bc4 /include/bootstd.h
parentd985f1dbddb241c21a9150abf59dd386ba1ffe05 (diff)
downloadu-boot-e64c29521c0e6111b446fd67e85c6dd3d491103c.tar.xz
bootstd: Support setting a theme for the menu
Allow a theme to be set. For now this is very simple, just a default font size to use for all elements. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootstd.h')
-rw-r--r--include/bootstd.h4
1 files changed, 4 insertions, 0 deletions
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;
};
/**