[PATCH] autoboot: fix MENUKEY

Da Xue da at libre.computer
Fri Jul 2 18:32:43 CEST 2021


replace CONFIG_AUTOBOOT_USE_MENUKEY with CONFIG_AUTOBOOT_MENUKEY

Signed-off-by: Da Xue <da at libre.computer>
---
 common/autoboot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/autoboot.c b/common/autoboot.c
index c834db7323..26bfd64acc 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -45,7 +45,7 @@ static int menukey;
 #endif

 #ifdef CONFIG_AUTOBOOT_USE_MENUKEY
-#define AUTOBOOT_MENUKEY CONFIG_AUTOBOOT_USE_MENUKEY
+#define AUTOBOOT_MENUKEY CONFIG_AUTOBOOT_MENUKEY
 #else
 #define AUTOBOOT_MENUKEY 0
 #endif
--
2.20.1


More information about the U-Boot mailing list