mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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:
parent
d985f1dbdd
commit
e64c29521c
5 changed files with 139 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue