event: Correct dependencies on the EVENT framework
[platform/kernel/u-boot.git] / cmd / Kconfig
index ad36ae6..4fe2c75 100644 (file)
@@ -86,6 +86,7 @@ config SYS_CBSIZE
 
 config SYS_PBSIZE
        int "Buffer size for console output"
+       default 1024 if ARCH_SUNXI
        default 1044
 
 config SYS_XTRACE
@@ -161,6 +162,12 @@ config CMD_CPU
          internal name) and clock frequency. Other information may be
          available depending on the CPU driver.
 
+config CMD_FWU_METADATA
+       bool "fwu metadata read"
+       depends on FWU_MULTI_BANK_UPDATE
+       help
+         Command to read the metadata and dump it's contents
+
 config CMD_LICENSE
        bool "license"
        select BUILD_BIN2C
@@ -184,6 +191,7 @@ config CMD_REGINFO
 config CMD_TLV_EEPROM
        bool "tlv_eeprom"
        depends on I2C_EEPROM
+       select CRC32
        help
          Display and program the system EEPROM data block in ONIE Tlvinfo
          format. TLV stands for Type-Length-Value.
@@ -192,6 +200,7 @@ config SPL_CMD_TLV_EEPROM
        bool "tlv_eeprom for SPL"
        depends on SPL_I2C_EEPROM
        select SPL_DRIVERS_MISC
+       select SPL_CRC32
        help
          Read system EEPROM data block in ONIE Tlvinfo format from SPL.
 
@@ -328,6 +337,16 @@ config BOOTM_RTEMS
        help
          Support booting RTEMS images via the bootm command.
 
+config CMD_VBE
+       bool "vbe - Verified Boot for Embedded"
+       depends on BOOTMETH_VBE
+       default y if BOOTSTD_FULL
+       help
+         Provides various subcommands related to VBE, such as listing the
+         available methods, looking at the state and changing which method
+         is used to boot. Updating the parameters is not currently
+         supported.
+
 config BOOTM_VXWORKS
        bool "Support booting VxWorks OS images"
        depends on CMD_BOOTM
@@ -335,6 +354,16 @@ config BOOTM_VXWORKS
        help
          Support booting VxWorks images via the bootm command.
 
+config SYS_BOOTM_LEN
+       hex "Maximum size of a decompresed OS image"
+       depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ
+       default 0x4000000 if PPC || ARM64
+       default 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7
+       default 0x800000
+       help
+         This is the maximum size of the buffer that is used to decompress the OS
+         image in to, if passing a compressed image to bootm/booti/bootz.
+
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
@@ -447,6 +476,11 @@ config CMD_XIMG
        help
          Extract a part of a multi-image.
 
+config CMD_XXD
+       bool "xxd"
+       help
+         Print file as hexdump to standard output
+
 config CMD_SPL
        bool "spl export - Export boot information for Falcon boot"
        depends on SPL
@@ -492,6 +526,10 @@ 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 THOR_RESET_OFF
+       bool "thor: Disable reset on completion"
+       depends on CMD_THOR_DOWNLOAD
+
 config CMD_ZBOOT
        bool "zboot - x86 boot command"
        help
@@ -1026,8 +1064,9 @@ config CMD_FPGA_LOADP
          a partial bitstream.
 
 config CMD_FPGA_LOAD_SECURE
-       bool "fpga loads - loads secure bitstreams (Xilinx only)"
+       bool "fpga loads - loads secure bitstreams"
        depends on CMD_FPGA
+       select FPGA_LOAD_SECURE
        help
          Enables the fpga loads command which is used to load secure
          (authenticated or encrypted or both) bitstreams on to FPGA.
@@ -1069,7 +1108,6 @@ config CMD_PWM
 config CMD_GPT
        bool "GPT (GUID Partition Table) command"
        select EFI_PARTITION
-       select HAVE_BLOCK_DEVICE
        select PARTITION_UUIDS
        imply RANDOM_UUID
        help
@@ -1166,11 +1204,38 @@ config CMD_LOADM
          Load a binary over memory mapped.
 
 config CMD_LOADS
-       bool "loads"
+       bool "loads - Load a file over serial in S-Record format"
        default y
        help
          Load an S-Record file over serial line
 
+config LOADS_ECHO
+       bool "Echo all characters received during a loads back to console"
+       depends on CMD_LOADS
+       help
+         If enabled, all characters received during a serial download (using
+         the "loads" command) are echoed back. This might be needed by some
+         terminal emulations (like "cu"), but may as well just take time on
+         others. This sets the initial value of the "loads_echo" environment
+         variable to 1.
+
+config CMD_SAVES
+       bool "saves - Save a file over serial in S-Record format"
+       help
+         Provides a way to save a binary file using the Motorola S-Record
+         format over the serial line.
+
+config SYS_LOADS_BAUD_CHANGE
+       bool "Enable a temporary baudrate change during loads/saves command"
+       depends on CMD_LOADS || CMD_SAVES
+
+config CMD_LOADXY_TIMEOUT
+       int "loadxy_timeout"
+       range 0 2000
+       default 90
+       help
+         Initial timeout for loadx and loady commands. Zero means infinity.
+
 config CMD_LSBLK
        depends on BLK
        bool "lsblk - list block drivers and devices"
@@ -1181,7 +1246,6 @@ config CMD_LSBLK
 config CMD_MBR
        bool "MBR (Master Boot Record) command"
        select DOS_PARTITION
-       select HAVE_BLOCK_DEVICE
        help
          Enable the 'mbr' command to ready and write MBR (Master Boot Record)
          style partition tables.
@@ -1298,6 +1362,10 @@ config CMD_ONENAND
          and erasing blocks. It allso provides a way to show and change
          bad blocks, and test the device.
 
+config USE_ONENAND_BOARD_INIT
+       bool "Call onenand_board_init() in the onenand command"
+       depends on CMD_ONENAND
+
 config CMD_OSD
        bool "osd"
        help
@@ -1309,7 +1377,6 @@ config CMD_OSD
 config CMD_PART
        bool "part"
        depends on PARTITIONS
-       select HAVE_BLOCK_DEVICE
        select PARTITION_UUIDS
        help
          Read and display information about the partition table on
@@ -1361,12 +1428,6 @@ config CMD_SATA
          Attachment, where AT refers to an IBM AT (Advanced Technology)
          computer released in 1984.
 
-config CMD_SAVES
-       bool "saves - Save a file over serial in S-Record format"
-       help
-         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
@@ -1418,6 +1479,12 @@ config DEFAULT_SPI_MODE
        depends on CMD_SPI
        default 0
 
+config CMD_TEMPERATURE
+       bool "temperature - display the temperature from thermal sensors"
+       depends on DM_THERMAL
+       help
+         Provides a way to list thermal sensors and to get their readings.
+
 config CMD_TSI148
        bool "tsi148 - Command to access tsi148 device"
        help
@@ -1440,7 +1507,6 @@ config CMD_UNIVERSE
 config CMD_USB
        bool "usb"
        depends on USB_HOST
-       select HAVE_BLOCK_DEVICE
        help
          USB support.
 
@@ -1480,7 +1546,6 @@ config CMD_PVBLOCK
 config CMD_VIRTIO
        bool "virtio"
        depends on VIRTIO
-       depends on HAVE_BLOCK_DEVICE
        default y if VIRTIO
        help
          VirtIO block device support
@@ -1504,6 +1569,11 @@ endmenu
 
 menu "Shell scripting commands"
 
+config CMD_CAT
+       bool "cat"
+       help
+         Print file to standard output
+
 config CMD_ECHO
        bool "echo"
        default y
@@ -1692,7 +1762,7 @@ config CMD_TFTPBOOT
        bool "tftpboot"
        default y
        help
-         tftpboot - boot image via network using TFTP protocol
+         tftpboot - load file via network using TFTP protocol
 
 config CMD_TFTPPUT
        bool "tftp put"
@@ -1746,6 +1816,13 @@ config SYS_DISABLE_AUTOLOAD
          is complete.  Enable this option to disable this behavior and instead
          require files to be loaded over the network by subsequent commands.
 
+config CMD_WGET
+       bool "wget"
+       select PROT_TCP
+       help
+         wget is a simple command to download kernel, or other files,
+         from a http server over TCP.
+
 config CMD_MII
        bool "mii"
        imply CMD_MDIO
@@ -1774,6 +1851,13 @@ config CMD_PING
        help
          Send ICMP ECHO_REQUEST to network host
 
+config CMD_PING6
+       bool "ping6"
+       depends on IPV6
+       default y if (CMD_PING && IPV6)
+       help
+         Send ICMPv6 ECHO_REQUEST to network host
+
 config CMD_CDP
        bool "cdp"
        help
@@ -1796,6 +1880,14 @@ config CMD_LINK_LOCAL
        help
          Acquire a network IP address using the link-local protocol
 
+config CMD_NCSI
+       bool "ncsi"
+       depends on PHY_NCSI
+       help
+         Manually configure the attached NIC via NC-SI.
+         Normally this happens automatically before other network
+         operations.
+
 endif
 
 config CMD_ETHSW
@@ -1808,7 +1900,7 @@ config CMD_ETHSW
 
 config CMD_PXE
        bool "pxe"
-       select MENU
+       select PXE_UTILS
        help
          Boot image via network using PXE protocol
 
@@ -1823,7 +1915,7 @@ menu "Misc commands"
 
 config CMD_BMP
        bool "Enable 'bmp' command"
-       depends on LCD || DM_VIDEO || VIDEO
+       depends on VIDEO
        help
          This provides a way to obtain information about a BMP-format image
          and to display it. BMP (which presumably stands for BitMaP) is a
@@ -1885,8 +1977,7 @@ config CMD_CONITRACE
 
 config CMD_CLS
        bool "Enable clear screen command 'cls'"
-       depends on DM_VIDEO || LCD || VIDEO
-       default y if LCD
+       default y if LCD || VIDEO
        help
          Enable the 'cls' command which clears the screen contents
          on video frame buffer.
@@ -1901,6 +1992,13 @@ config CMD_EFIDEBUG
          particularly for managing boot parameters as  well as examining
          various EFI status for debugging.
 
+config CMD_EFICONFIG
+       bool "eficonfig - provide menu-driven uefi variables maintenance interface"
+       depends on CMD_BOOTEFI_BOOTMGR
+       help
+         Enable the 'eficonfig' command which provides the menu-driven UEFI
+         variable maintenance interface.
+
 config CMD_EXCEPTION
        bool "exception - raise exception"
        depends on ARM || RISCV || SANDBOX || X86
@@ -1944,9 +2042,16 @@ config CMD_GETTIME
          milliseconds. See also the 'bootstage' command which provides more
          flexibility for boot timing.
 
+config CMD_PAUSE
+       bool "pause command"
+       help
+         Delay execution waiting for any user input.
+         Useful to allow the user to read a failure log.
+
 config CMD_RNG
        bool "rng command"
        depends on DM_RNG
+       default y if SANDBOX
        select HEXDUMP
        help
          Print bytes from the hardware random number generator.
@@ -1989,7 +2094,7 @@ config CMD_SOUND
 
 config CMD_SYSBOOT
        bool "sysboot"
-       select MENU
+       select PXE_UTILS
        help
          Boot image via local extlinux.conf file
 
@@ -2094,6 +2199,18 @@ config CMD_UUID
          The two commands are very similar except for the endianness of the
          output.
 
+config CMD_VIDCONSOLE
+       bool "lcdputs and setcurs"
+       depends on VIDEO
+       default y
+       help
+         Enabling this will provide 'setcurs' and 'lcdputs' commands which
+         support cursor positioning and drawing strings on the video
+         console (framebuffer).
+
+         The name 'lcdputs' is a bit of a misnomer, but so named because the
+         video device is often an LCD.
+
 endmenu
 
 source "cmd/ti/Kconfig"
@@ -2422,6 +2539,7 @@ config CMD_MTDPARTS_SHOW_NET_SIZES
 config MTDIDS_DEFAULT
        string "Default MTD IDs"
        depends on MTD || SPI_FLASH
+       depends on !SYS_MTDPARTS_RUNTIME
        help
          Defines a default MTD IDs list for use with MTD partitions in the
          Linux MTD command line partitions format.
@@ -2429,6 +2547,7 @@ config MTDIDS_DEFAULT
 config MTDPARTS_DEFAULT
        string "Default MTD partition scheme"
        depends on MTD || SPI_FLASH
+       depends on !SYS_MTDPARTS_RUNTIME
        help
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
@@ -2477,6 +2596,22 @@ config CMD_CBSYSINFO
          memory by coreboot before jumping to U-Boot. It can be useful for
          debugging the beaaviour of coreboot or U-Boot.
 
+config CMD_CYCLIC
+       bool "cyclic - Show information about cyclic functions"
+       depends on CYCLIC
+       default y
+       help
+         This enables the 'cyclic' command which provides information about
+         cyclic execution functions. This infrastructure allows registering
+         functions to be executed cyclically, e.g. every 100ms. These commands
+         are supported:
+
+           cyclic list - list cyclic functions
+           cyclic cyclic demo <cycletime_ms> <delay_us> - register cyclic
+               demo function
+
+         See doc/develop/cyclic.rst for more details.
+
 config CMD_DIAG
        bool "diag - Board diagnostics"
        help
@@ -2487,6 +2622,7 @@ config CMD_DIAG
 
 config CMD_EVENT
        bool "event - Show information about events"
+       depends on EVENT
        default y if EVENT_DEBUG
        help
          This enables the 'event' command which provides information about