fastboot: implement Kconfig
[oweals/u-boot.git] / cmd / Kconfig
index c5a7a590644df472f6bcb385df539858ab978107..d28da54ed6595403964a0079e4d9972d3a84a1eb 100644 (file)
@@ -13,7 +13,6 @@ config CMDLINE
 
 config HUSH_PARSER
        bool "Use hush shell"
-       select SYS_HUSH_PARSER
        depends on CMDLINE
        help
          This option enables the "hush" shell (from Busybox) as command line
@@ -24,11 +23,6 @@ config HUSH_PARSER
          If disabled, you get the old, much simpler behaviour with a somewhat
          smaller memory footprint.
 
-config SYS_HUSH_PARSER
-       bool
-       help
-         Backward compatibility.
-
 config SYS_PROMPT
        string "Shell prompt"
        default "=> "
@@ -38,6 +32,12 @@ config SYS_PROMPT
 
 menu "Autoboot options"
 
+config AUTOBOOT
+       bool "Autoboot"
+       default y
+       help
+         This enables the autoboot.  See doc/README.autoboot for detail.
+
 config AUTOBOOT_KEYED
        bool "Stop autobooting via specific input key / string"
        default n
@@ -114,6 +114,8 @@ config AUTOBOOT_STOP_STR_SHA256
 
 endmenu
 
+source "cmd/fastboot/Kconfig"
+
 comment "Commands"
 
 menu "Info commands"
@@ -165,6 +167,13 @@ config CMD_BOOTZ
        help
          Boot the Linux zImage
 
+config CMD_BOOTI
+       bool "booti"
+       depends on ARM64
+       default y
+       help
+         Boot an AArch64 Linux Kernel image from memory.
+
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
@@ -595,7 +604,6 @@ config CMD_SOUND
 
 config CMD_QFW
        bool "qfw"
-       depends on X86
        select QFW
        help
          This provides access to the QEMU firmware interface.  The main