[U-Boot] [PATCH] autoboot: add necessary dependency at AUTOBOOT_MENU_SHOW

AKASHI Takahiro takahiro.akashi at linaro.org
Thu Sep 12 06:31:22 UTC 2019


Otherwise, menu_show() will be undefined in bootdelay_process().

Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 05872fa0d7f4..a6738a71b60f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -172,6 +172,7 @@ config AUTOBOOT_MENUKEY
 
 config AUTOBOOT_MENU_SHOW
 	bool "Show a menu on boot"
+	depends on CMD_BOOTMENU
 	help
 	  This enables the boot menu, controlled by environment variables
 	  defined by the board. The menu starts after running the 'preboot'
-- 
2.21.0



More information about the U-Boot mailing list