cmd: mem: Drop eldk-4.2 workaround and use cast in unmap_sysmem()
[oweals/u-boot.git] / cmd / bootmenu.c
index 7f88c1ed63252ba046f07a9b1b59e70ff06d8dad..3dc2c854aca5c4b7c54bd99b692beaa29360254f 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <ansi.h>
+#include <env.h>
 #include <menu.h>
 #include <watchdog.h>
 #include <malloc.h>
@@ -472,7 +473,7 @@ void menu_display_statusline(struct menu *m)
        puts(ANSI_CLEAR_LINE);
 }
 
-#ifdef CONFIG_MENU_SHOW
+#ifdef CONFIG_AUTOBOOT_MENU_SHOW
 int menu_show(int bootdelay)
 {
        bootmenu_show(bootdelay);