aboutsummaryrefslogtreecommitdiff
path: root/payloads/external/tianocore/Kconfig
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-11-29 22:11:52 -0600
committerNico Huber <nico.h@gmx.de>2020-12-28 16:47:59 +0000
commit61a3c8a005922d46425c84f847c0ad26e9c3cdca (patch)
tree71d90ece76075538de09c12e393796a0dfba8424 /payloads/external/tianocore/Kconfig
parent19185531900aa52e7789dc2fd9c08f8d3463d189 (diff)
payloads/tianocore: Add Kconfig to set boot timeout
Add a Kconfig option to set the tianocore boot timeout, which is passed to the payload via a command line parameter. Allows boards without an internal display (eg) to set a longer boot timeout, in order to ensure the boot splash/menu prompt are visible upon boot. The associated changes on the tianocore side have already been merged into MrChromebox's CorebootPayloadPkg and UefiPayloadPkg branches (coreboot_fb and uefipayloadpkg respectively). Change-Id: Ifeaadff05f6667d642c05b81f53c1d2dbc450af6 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48861 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'payloads/external/tianocore/Kconfig')
-rw-r--r--payloads/external/tianocore/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig
index 7d5f038ebd..87b6e15582 100644
--- a/payloads/external/tianocore/Kconfig
+++ b/payloads/external/tianocore/Kconfig
@@ -100,4 +100,12 @@ config TIANOCORE_BOOTSPLASH_FILE
If an absolute path is not given, the path will assumed to be
relative to the coreboot root directory.
+config TIANOCORE_BOOT_TIMEOUT
+ int
+ default 2
+ help
+ The length of time in seconds for which the boot splash/menu prompt will be displayed.
+ For boards with an internal display, the default value of 2s is generally sufficient.
+ For boards without an internal display, a value of 5s is generally sufficient.
+
endif