diff mbox series

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

Message ID 20190912063122.12176-1-takahiro.akashi@linaro.org
State Accepted
Commit dd2d9899720895881e5c60fb38f91f22c53c97cc
Delegated to: Tom Rini
Headers show
Series [U-Boot] autoboot: add necessary dependency at AUTOBOOT_MENU_SHOW | expand

Commit Message

Takahiro Akashi Sept. 12, 2019, 6:31 a.m. UTC
Otherwise, menu_show() will be undefined in bootdelay_process().

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

Comments

Tom Rini Oct. 6, 2019, 12:08 a.m. UTC | #1
On Thu, Sep 12, 2019 at 03:31:22PM +0900, AKASHI Takahiro wrote:

> Otherwise, menu_show() will be undefined in bootdelay_process().
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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'