]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/Kconfig
Convert CONFIG_BOOTP_BOOTPATH et al to Kconfig
[people/ms/u-boot.git] / cmd / Kconfig
index b80aff94b2ef1ac3461b4a474d58a3fc305512c4..18aac7f7d4c3c12ba87bd7e1a3e6bbcb69fec96e 100644 (file)
@@ -23,6 +23,29 @@ config HUSH_PARSER
          If disabled, you get the old, much simpler behaviour with a somewhat
          smaller memory footprint.
 
+config CMDLINE_EDITING
+       bool "Enable command line editing"
+       depends on CMDLINE
+       default y
+       help
+         Enable editing and History functions for interactive command line
+         input operations
+
+config AUTO_COMPLETE
+       bool "Enable auto complete using TAB"
+       depends on CMDLINE
+       default y
+       help
+         Enable auto completion of commands using TAB.
+
+config SYS_LONGHELP
+       bool "Enable long help messages"
+       depends on CMDLINE
+       default y if CMDLINE
+       help
+         Defined when you want long help messages included
+         Do not set this option when short of memory.
+
 config SYS_PROMPT
        string "Shell prompt"
        default "=> "
@@ -116,6 +139,9 @@ endmenu
 
 source "cmd/fastboot/Kconfig"
 
+config BUILD_BIN2C
+       bool
+
 comment "Commands"
 
 menu "Info commands"
@@ -222,6 +248,8 @@ config CMD_BOOTEFI_HELLO
          for testing that EFI is working at a basic level, and for bringing
          up EFI support on a new architecture.
 
+source lib/efi_selftest/Kconfig
+
 config CMD_BOOTMENU
        bool "bootmenu"
        select MENU
@@ -261,7 +289,6 @@ config CMD_IMI
 
 config CMD_IMLS
        bool "imls"
-       default y
        help
          List all images found in flash
 
@@ -304,6 +331,12 @@ config CMD_SPL_WRITE_SIZE
          flash used by Falcon-mode boot. See the documentation until CMD_SPL
          for detail.
 
+config CMD_FITUPD
+       bool "fitImage update command"
+       help
+         Implements the 'fitupd' command, which allows to automatically
+         store software updates present on a TFTP server in NOR Flash
+
 config CMD_THOR_DOWNLOAD
        bool "thor - TIZEN 'thor' download"
        help
@@ -312,6 +345,18 @@ config CMD_THOR_DOWNLOAD
          There is no documentation about this within the U-Boot source code
          but you should be able to find something on the interwebs.
 
+config CMD_ZBOOT
+       bool "zboot - x86 boot command"
+       help
+         With x86 machines it is common to boot a bzImage file which
+         contains both a kernel and a setup.bin file. The latter includes
+         configuration information from the dark ages which x86 boards still
+         need to pick things out of.
+
+         Consider using FIT in preference to this since it supports directly
+         booting both 32- and 64-bit kernels, as well as secure boot.
+         Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
+
 endmenu
 
 menu "Environment commands"
@@ -381,6 +426,7 @@ menu "Memory commands"
 config CMD_CRC32
        bool "crc32"
        select HASH
+       default n if ARCH_SUNXI
        default y
        help
          Compute CRC32.
@@ -514,6 +560,7 @@ menu "Compression commands"
 
 config CMD_LZMADEC
        bool "lzmadec"
+       default y if CMD_BOOTI
        select LZMA
        help
          Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
@@ -521,6 +568,8 @@ config CMD_LZMADEC
 
 config CMD_UNZIP
        bool "unzip"
+       default n if ARCH_SUNXI
+       default y if CMD_BOOTI
        help
          Uncompress a zip-compressed memory region.
 
@@ -562,10 +611,12 @@ config CMD_DEMO
 
 config CMD_DFU
        bool "dfu"
-       select USB_FUNCTION_DFU
+       select DFU
        help
          Enables the command "dfu" which is used to have U-Boot create a DFU
-         class device via USB.
+         class device via USB. This command requires that the "dfu_alt_info"
+         environment variable be set and define the alt settings to expose to
+         the host.
 
 config CMD_DM
        bool "dm - Access to driver model information"
@@ -594,6 +645,7 @@ config CMD_FLASH
 
 config CMD_FPGA
        bool "fpga"
+       depends on FPGA
        default y
        help
          FPGA support.
@@ -649,10 +701,19 @@ config CMD_GPT
        bool "GPT (GUID Partition Table) command"
        select PARTITION_UUIDS
        select EFI_PARTITION
+       select HAVE_BLOCK_DEVICE
+       imply RANDOM_UUID
        help
          Enable the 'gpt' command to ready and write GPT style partition
          tables.
 
+config RANDOM_UUID
+       bool "GPT Random UUID generation"
+       select LIB_UUID
+       help
+         Enable the generation of partitions with random UUIDs if none
+         are provided.
+
 config CMD_GPT_RENAME
        bool "GPT partition renaming commands"
        depends on CMD_GPT
@@ -719,12 +780,14 @@ config CMD_I2C
 
 config CMD_LOADB
        bool "loadb"
+       default n if ARCH_SUNXI
        default y
        help
          Load a binary file over serial line.
 
 config CMD_LOADS
        bool "loads"
+       default n if ARCH_SUNXI
        default y
        help
          Load an S-Record file over serial line
@@ -759,6 +822,13 @@ config CMD_NAND_TORTURE
 
 endif # CMD_NAND
 
+config CMD_NVME
+       bool "nvme"
+       depends on NVME
+       default y if NVME
+       help
+         NVM Express device support
+
 config CMD_MMC_SPI
        bool "mmc_spi - Set up MMC SPI device"
        help
@@ -779,6 +849,7 @@ config CMD_ONENAND
 config CMD_PART
        bool "part"
        select PARTITION_UUIDS
+       select HAVE_BLOCK_DEVICE
        help
          Read and display information about the partition table on
          various media.
@@ -829,6 +900,15 @@ config CMD_SAVES
          Provides a way to save a binary file using the Motorola S-Record
          format over the serial line.
 
+config CMD_SCSI
+       bool "scsi - Access to SCSI devices"
+       default y if SCSI
+       help
+         This provides a 'scsi' command which provides access to SCSI (Small
+         Computer System Interface) devices. The command provides a way to
+         scan the bus, reset the bus, read and write data and get information
+         about devices.
+
 config CMD_SDRAM
        bool "sdram - Print SDRAM configuration information"
        help
@@ -871,11 +951,28 @@ config CMD_UNIVERSE
 
 config CMD_USB
        bool "usb"
+       select HAVE_BLOCK_DEVICE
        help
          USB support.
 
+config CMD_USB_SDP
+       bool "sdp"
+       select USB_FUNCTION_SDP
+       help
+         Enables the command "sdp" which is used to have U-Boot emulating the
+         Serial Download Protocol (SDP) via USB.
+config CMD_ROCKUSB
+       bool "rockusb"
+       depends on USB_FUNCTION_ROCKUSB
+       help
+          Rockusb protocol is widely used by Rockchip SoC based devices. It can
+         read/write info, image to/from devices. This enable rockusb command
+         support to communication with rockusb device. for more detail about
+         this command, please read doc/README.rockusb.
+
 config CMD_USB_MASS_STORAGE
        bool "UMS usb mass storage"
+       select USB_FUNCTION_MASS_STORAGE
        help
          USB mass storage support
 
@@ -1085,6 +1182,7 @@ config CMD_GETTIME
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
+       default n if ARCH_SUNXI
        default y
        help
          Delay execution for some time
@@ -1124,6 +1222,7 @@ config CMD_TERMINAL
 
 config CMD_UUID
        bool "uuid, guid - generation of unique IDs"
+       select LIB_UUID
        help
          This enables two commands:
 
@@ -1135,6 +1234,8 @@ config CMD_UUID
 
 endmenu
 
+source "cmd/ti/Kconfig"
+
 config CMD_BOOTSTAGE
        bool "Enable the 'bootstage' command"
        depends on BOOTSTAGE
@@ -1283,6 +1384,16 @@ config CMD_CROS_EC
 endmenu
 
 menu "Filesystem commands"
+config CMD_BTRFS
+       bool "Enable the 'btrsubvol' command"
+       select FS_BTRFS
+       help
+         This enables the 'btrsubvol' command to list subvolumes
+         of a BTRFS filesystem. There are no special commands for
+         listing BTRFS directories or loading BTRFS files - this
+         can be done by the generic 'fs' commands (see CMD_FS_GENERIC)
+         when BTRFS is enabled (see FS_BTRFS).
+
 config CMD_CBFS
        bool "Enable the 'cbfs' command"
        depends on FS_CBFS
@@ -1306,17 +1417,20 @@ config CMD_CRAMFS
 
 config CMD_EXT2
        bool "ext2 command support"
+       select FS_EXT4
        help
          Enables EXT2 FS command
 
 config CMD_EXT4
        bool "ext4 command support"
+       select FS_EXT4
        help
          Enables EXT4 FS command
 
 config CMD_EXT4_WRITE
        depends on CMD_EXT4
        bool "ext4 write command support"
+       select EXT4_WRITE
        help
          Enables EXT4 FS write command
 
@@ -1353,13 +1467,14 @@ config CMD_MTDPARTS
 
 config MTDIDS_DEFAULT
        string "Default MTD IDs"
-       depends on CMD_MTDPARTS
+       depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
        help
-         Defines a default MTD ID
+         Defines a default MTD IDs list for use with MTD partitions in the
+         Linux MTD command line partitions format.
 
 config MTDPARTS_DEFAULT
        string "Default MTD partition scheme"
-       depends on CMD_MTDPARTS
+       depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
        help
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
@@ -1383,15 +1498,6 @@ config CMD_REISER
            reiserls - list files
            reiserload - load a file
 
-config CMD_SCSI
-       bool "scsi - Access to SCSI devices"
-       default y if SCSI
-       help
-         This provides a 'scsi' command which provides access to SCSI (Small
-         Computer System Interface) devices. The command provides a way to
-         scan the bus, reset the bus, read and write data and get information
-         about devices.
-
 config CMD_YAFFS2
        bool "yaffs2 - Access of YAFFS2 filesystem"
        depends on YAFFS2
@@ -1403,6 +1509,17 @@ config CMD_YAFFS2
          that device writes are sequential regardless of filesystem
          activity.
 
+config CMD_ZFS
+       bool "zfs - Access of ZFS filesystem"
+       help
+         This provides commands to accessing a ZFS filesystem, commonly used
+         on Solaris systems. Two sub-commands are provided:
+
+           zfsls - list files in a directory
+           zfsload - load a file
+
+         See doc/README.zfs for more details.
+
 endmenu
 
 menu "Debug commands"
@@ -1439,6 +1556,14 @@ config CMD_KGDB
          single-stepping, inspecting variables, etc. This is supported only
          on PowerPC at present.
 
+config CMD_LOG
+       bool "log - Generation, control and access to logging"
+       help
+         This provides access to logging features. It allows the output of
+         log data to be controlled to a limited extent (setting up the default
+         maximum log level for emitting of records). It also provides access
+         to a command used for testing the log system.
+
 config CMD_TRACE
        bool "trace - Support tracing of function calls and timing"
        help