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>
This commit is contained in:
Simon Glass 2023-01-06 08:52:42 -06:00 committed by Tom Rini
parent d985f1dbdd
commit e64c29521c
5 changed files with 139 additions and 3 deletions

View file

@ -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;