]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/Kconfig
dfu: Fix up the Kconfig mess
[people/ms/u-boot.git] / cmd / Kconfig
index 49dd3f95e1ae1ca4c63e3c2ad18cbd94bec40a8c..d997f0c7a66e5e542066c5904ddca9791cb6e8e3 100644 (file)
@@ -308,6 +308,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
@@ -582,7 +588,7 @@ 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. This command requires that the "dfu_alt_info"
@@ -616,6 +622,7 @@ config CMD_FLASH
 
 config CMD_FPGA
        bool "fpga"
+       depends on FPGA
        default y
        help
          FPGA support.
@@ -671,6 +678,7 @@ 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
@@ -678,6 +686,7 @@ config CMD_GPT
 
 config RANDOM_UUID
        bool "GPT Random UUID generation"
+       select LIB_UUID
        help
          Enable the generation of partitions with random UUIDs if none
          are provided.
@@ -817,6 +826,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.
@@ -867,6 +877,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
@@ -909,6 +928,7 @@ config CMD_UNIVERSE
 
 config CMD_USB
        bool "usb"
+       select HAVE_BLOCK_DEVICE
        help
          USB support.
 
@@ -929,6 +949,7 @@ config CMD_ROCKUSB
 
 config CMD_USB_MASS_STORAGE
        bool "UMS usb mass storage"
+       select USB_FUNCTION_MASS_STORAGE
        help
          USB mass storage support
 
@@ -1138,6 +1159,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
@@ -1177,6 +1199,7 @@ config CMD_TERMINAL
 
 config CMD_UUID
        bool "uuid, guid - generation of unique IDs"
+       select LIB_UUID
        help
          This enables two commands:
 
@@ -1371,17 +1394,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
 
@@ -1449,15 +1475,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