From: Matt DeVillier <matt.devill...@gmail.com>
Date: Fri, 13 Jun 2014 17:20:23 -0500

Signed-off-by: Matt DeVillier <matt.devill...@gmail.com>
Signed-off-by: Paul Menzel <pmen...@molgen.mpg.de>
---
Upstream from https://github.com/MrChromebox/SeaBIOS/

 src/boot.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/boot.c b/src/boot.c
index afeb36a..ace3fa5 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -670,6 +670,12 @@ interactive_bootmenu(void)
     if (! CONFIG_BOOTMENU || !romfile_loadint("etc/show-boot-menu", 1))
         return;

+    // skip menu if only one boot device and no TPM
+    if ((NULL == BootList.first->next) && !tpm_can_show_menu()) {
+       printf("\n");
+       return;
+    }
+
     while (get_keystroke(0) >= 0)
         ;

--
2.25.1
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to