diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-06 08:52:42 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-16 18:26:51 -0500 |
commit | e64c29521c0e6111b446fd67e85c6dd3d491103c (patch) | |
tree | a50e37bd6cb9fde926a7fcbbb4e32d2effb53bc4 /boot/bootstd-uclass.c | |
parent | d985f1dbddb241c21a9150abf59dd386ba1ffe05 (diff) |
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 'boot/bootstd-uclass.c')
-rw-r--r-- | boot/bootstd-uclass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/bootstd-uclass.c b/boot/bootstd-uclass.c index 565c22a36e..7887acdc11 100644 --- a/boot/bootstd-uclass.c +++ b/boot/bootstd-uclass.c @@ -33,6 +33,8 @@ static int bootstd_of_to_plat(struct udevice *dev) &priv->prefixes); dev_read_string_list(dev, "bootdev-order", &priv->bootdev_order); + + priv->theme = ofnode_find_subnode(dev_ofnode(dev), "theme"); } return 0; |