]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd: Convert CMD_BOOTMENU
authorTom Rini <trini@konsulko.com>
Tue, 29 Nov 2016 14:14:56 +0000 (09:14 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:23 +0000 (13:21 -0500)
Also convert MENU while we're in here.

Signed-off-by: Tom Rini <trini@konsulko.com>
12 files changed:
cmd/Kconfig
common/Kconfig
configs/nokia_rx51_defconfig
include/config_distro_defaults.h
include/config_fallbacks.h
include/configs/hikey.h
include/configs/ls1043a_common.h
include/configs/nokia_rx51.h
include/configs/thunderx_88xx.h
include/configs/vexpress_aemv8a.h
include/configs/xilinx_zynqmp.h
scripts/config_whitelist.txt

index 7653c60027390105abf9c09fb86ace67db57b8ea..bafba6f61c9dce872a6c5507ce5bced69cf0bfc3 100644 (file)
@@ -203,6 +203,12 @@ config CMD_BOOTEFI_HELLO
          for testing that EFI is working at a basic level, and for bringing
          up EFI support on a new architecture.
 
+config CMD_BOOTMENU
+       bool "bootmenu"
+       select MENU
+       help
+         Add an ANSI terminal boot menu command.
+
 config CMD_ELF
        bool "bootelf, bootvx"
        default y
index 913d21a9ec580a858a88f9bd47516cdd706a1b1b..a04ee1084fed77200f69dfc12a504979a1ffe3f8 100644 (file)
@@ -172,6 +172,12 @@ config BOOTDELAY
 
 menu "Console"
 
+config MENU
+       bool
+       help
+         This is the library functionality to provide a text-based menu of
+         choices for the user to make choices with.
+
 config CONSOLE_RECORD
        bool "Console recording"
        help
index ef60fab6e794089aa60a9de0a1b28dc86f5a5170..210a9b18f4758c695b39e62484f2f9517f7cdcdc 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Nokia RX-51 # "
 CONFIG_AUTOBOOT_KEYED=y
+CONFIG_CMD_BOOTMENU=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SAVEENV is not set
index b5efab5c3f9c76381e1369c13978b94b3e2fd131..2e24b17b84f214bafd6e57986b540bc58552d79e 100644 (file)
@@ -25,7 +25,6 @@
 #define CONFIG_CMDLINE_EDITING
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_SYS_LONGHELP
-#define CONFIG_MENU
 #define CONFIG_DOS_PARTITION
 #define CONFIG_EFI_PARTITION
 #define CONFIG_ISO_PARTITION
index 2ad54b7bf6611106b770d0f3b495ba7f4ce32a8f..380093218b0965a2171bebffe2603112b1b7bbf0 100644 (file)
@@ -96,7 +96,6 @@
 #ifndef CONFIG_CMDLINE
 #undef CONFIG_CMDLINE_EDITING
 #undef CONFIG_SYS_LONGHELP
-#undef CONFIG_MENU
 #endif
 
 #endif /* __CONFIG_FALLBACKS_H */
index 39faf805806ee8be59eac2ce4e88340a1f734eb8..7a03d0f30a3273867bd64a05cc5bd8c25a2ab541 100644 (file)
@@ -80,7 +80,6 @@
 #define CONFIG_FS_EXT4
 
 /* Command line configuration */
-#define CONFIG_MENU
 #define CONFIG_CMD_UNZIP
 #define CONFIG_CMD_ENV
 
index 7a407aa70a244f68a994df870a98960bf63d3a81..9b20c56d7b37c181e24742f8e58ea920bd3a45a1 100644 (file)
 
 /* Command line configuration */
 #define CONFIG_CMD_ENV
-#define CONFIG_MENU
 #define CONFIG_CMD_PXE
 
 /*  MMC  */
index 4d5265f5409a620a9128b51090d748ef652eb879..ce74322954b9f523df45391ec348ebd6cf25b700 100644 (file)
 #define CONFIG_CMDLINE_EDITING         /* add command line history */
 #define CONFIG_AUTO_COMPLETE           /* add autocompletion support */
 
-#define CONFIG_CMD_BOOTMENU            /* ANSI terminal Boot Menu */
 #define CONFIG_CMD_CLEAR               /* ANSI terminal clear screen command */
 
 #ifdef ONENAND_SUPPORT
@@ -364,7 +363,6 @@ int rx51_kp_getc(struct stdio_dev *sdev);
        "run attachboot;" \
        "echo"
 
-#define CONFIG_MENU
 #define CONFIG_MENU_SHOW
 
 /*
index 4387082b263e7fb12c86f122347e821b5554dfbd..a546db2eb48636cb5dd34cfbb9b89be05310a778 100644 (file)
@@ -49,9 +49,6 @@
 
 #define CONFIG_BAUDRATE                        115200
 
-/* Command line configuration */
-#define CONFIG_MENU
-
 /* BOOTP options */
 #define CONFIG_BOOTP_BOOTFILESIZE
 #define CONFIG_BOOTP_BOOTPATH
index 48834c2faeb2a76fec175258da3f7773dc4bde9c..733f01170e726100743c13e7cdaaa32fc8ac341b 100644 (file)
 #define CONFIG_PL011_CLOCK             24000000
 #endif
 
-/* Command line configuration */
-#define CONFIG_MENU
 /*#define CONFIG_MENU_SHOW*/
 #define CONFIG_CMD_UNZIP
 #define CONFIG_CMD_PXE
index 7452e92ff8dae190bb2b70a598ca65049eb5be04..d0b609549fe266eac0a69fd20e657e08aff31191 100644 (file)
@@ -82,7 +82,6 @@
 
 /* PXE */
 #define CONFIG_CMD_PXE
-#define CONFIG_MENU
 
 #if defined(CONFIG_ZYNQ_SDHCI)
 # define CONFIG_MMC
index 6a7712ce67604b4716b750859a3f15aa120b66f5..fb34274399a214e9e32b27464d68447ee82bce4e 100644 (file)
@@ -534,7 +534,6 @@ CONFIG_CMD_BLOB
 CONFIG_CMD_BMODE
 CONFIG_CMD_BMP
 CONFIG_CMD_BOOTLDR
-CONFIG_CMD_BOOTMENU
 CONFIG_CMD_BSP
 CONFIG_CMD_CBFS
 CONFIG_CMD_CHIP_CONFIG
@@ -3045,7 +3044,6 @@ CONFIG_MEM_HOLE_16M
 CONFIG_MEM_INIT_VALUE
 CONFIG_MEM_REMAP
 CONFIG_MEM_SIZE
-CONFIG_MENU
 CONFIG_MENUKEY
 CONFIG_MENUPROMPT
 CONFIG_MENU_SHOW