]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coreboot: Enable truetype fonts
authorSimon Glass <sjg@chromium.org>
Thu, 4 Jan 2024 15:10:40 +0000 (08:10 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 02:01:33 +0000 (20:01 -0600)
Truetype fonts look better in the menu, so enable them.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/coreboot.dts
configs/coreboot64_defconfig
configs/coreboot_defconfig

index dfce7c2d5919b718c4afbfcc861bce8bc5b1b4c3..b867468e16cbb62cf7abc6d551627a1b1ffc0d8c 100644 (file)
                compatible = "coreboot-fb";
        };
 
+       bootstd {
+               compatible = "u-boot,boot-std";
+
+               theme {
+                       font-size = <30>;
+                       menu-inset = <3>;
+                       menuitem-gap-y = <1>;
+               };
+       };
+
        sysinfo {
                compatible = "coreboot,sysinfo";
        };
index ace3b63dfd44636cdcf68f475d640246ea48583e..8f80e0271f7a42169bc633c5cd6cd4d5d7ef9430 100644 (file)
@@ -61,6 +61,7 @@ CONFIG_SYS_NS16550_MEM32=y
 CONFIG_SOUND=y
 CONFIG_SOUND_I8254=y
 CONFIG_VIDEO_COPY=y
+CONFIG_CONSOLE_TRUETYPE=y
 CONFIG_CONSOLE_SCROLL_LINES=5
 CONFIG_SPL_ACPI=y
 CONFIG_CMD_DHRYSTONE=y
index 3762cde6f3a6b7844bf711fb452d9c959f28b6c8..7d744e9962ae7b714dcee2a54631402be1970c80 100644 (file)
@@ -55,6 +55,7 @@ CONFIG_SYS_NS16550_MEM32=y
 CONFIG_SOUND=y
 CONFIG_SOUND_I8254=y
 CONFIG_VIDEO_COPY=y
+CONFIG_CONSOLE_TRUETYPE=y
 CONFIG_CONSOLE_SCROLL_LINES=5
 CONFIG_CMD_DHRYSTONE=y
 # CONFIG_GZIP is not set