test: rng: Add a UT testcase for the rng command
[platform/kernel/u-boot.git] / cmd / Kconfig
index 09193b6..3625ff2 100644 (file)
@@ -71,6 +71,23 @@ config SYS_PROMPT_HUSH_PS2
          printed when the command interpreter needs more input
          to complete a command. Usually "> ".
 
          printed when the command interpreter needs more input
          to complete a command. Usually "> ".
 
+config SYS_MAXARGS
+       int "Maximum number arguments accepted by commands"
+       default 16
+
+config SYS_CBSIZE
+       int "Console input buffer size"
+       default 2048 if ARCH_TEGRA || ARCH_VERSAL || ARCH_ZYNQ || ARCH_ZYNQMP || \
+               RCAR_GEN3 || TARGET_SOCFPGA_SOC64
+       default 512 if ARCH_MX5 || ARCH_MX6 || ARCH_MX7 || FSL_LSCH2 || \
+               FSL_LSCH3 || X86
+       default 256 if M68K || PPC
+       default 1024
+
+config SYS_PBSIZE
+       int "Buffer size for console output"
+       default 1044
+
 config SYS_XTRACE
        bool "Command execution tracer"
        depends on CMDLINE
 config SYS_XTRACE
        bool "Command execution tracer"
        depends on CMDLINE
@@ -167,6 +184,7 @@ config CMD_REGINFO
 config CMD_TLV_EEPROM
        bool "tlv_eeprom"
        depends on I2C_EEPROM
 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.
        help
          Display and program the system EEPROM data block in ONIE Tlvinfo
          format. TLV stands for Type-Length-Value.
@@ -175,6 +193,7 @@ config SPL_CMD_TLV_EEPROM
        bool "tlv_eeprom for SPL"
        depends on SPL_I2C_EEPROM
        select SPL_DRIVERS_MISC
        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.
 
        help
          Read system EEPROM data block in ONIE Tlvinfo format from SPL.
 
@@ -318,6 +337,16 @@ config BOOTM_VXWORKS
        help
          Support booting VxWorks images via the bootm command.
 
        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
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
@@ -1009,8 +1038,9 @@ config CMD_FPGA_LOADP
          a partial bitstream.
 
 config CMD_FPGA_LOAD_SECURE
          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
        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.
        help
          Enables the fpga loads command which is used to load secure
          (authenticated or encrypted or both) bitstreams on to FPGA.
@@ -1143,6 +1173,11 @@ config CMD_LOADB
        help
          Load a binary file over serial line.
 
        help
          Load a binary file over serial line.
 
+config CMD_LOADM
+       bool "loadm"
+       help
+         Load a binary over memory mapped.
+
 config CMD_LOADS
        bool "loads"
        default y
 config CMD_LOADS
        bool "loads"
        default y
@@ -1276,6 +1311,10 @@ config CMD_ONENAND
          and erasing blocks. It allso provides a way to show and change
          bad blocks, and test the device.
 
          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
 config CMD_OSD
        bool "osd"
        help
@@ -1715,6 +1754,15 @@ config NFS_TIMEOUT
          "ERROR: Cannot umount" in nfs command, try longer timeout such as
          10000.
 
          "ERROR: Cannot umount" in nfs command, try longer timeout such as
          10000.
 
+config SYS_DISABLE_AUTOLOAD
+       bool "Disable automatically loading files over the network"
+       depends on CMD_BOOTP || CMD_DHCP || CMD_NFS || CMD_RARP
+       help
+         Typically, commands such as "dhcp" will attempt to automatically
+         load a file from the network, once the initial network configuration
+         is complete.  Enable this option to disable this behavior and instead
+         require files to be loaded over the network by subsequent commands.
+
 config CMD_MII
        bool "mii"
        imply CMD_MDIO
 config CMD_MII
        bool "mii"
        imply CMD_MDIO
@@ -1916,6 +1964,7 @@ config CMD_GETTIME
 config CMD_RNG
        bool "rng command"
        depends on DM_RNG
 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.
        select HEXDUMP
        help
          Print bytes from the hardware random number generator.
@@ -2552,6 +2601,7 @@ config CMD_UBIFS
        depends on CMD_UBI
        default y if CMD_UBI
        select LZO
        depends on CMD_UBI
        default y if CMD_UBI
        select LZO
+       select GZIP
        help
          UBIFS is a file system for flash devices which works on top of UBI.
 
        help
          UBIFS is a file system for flash devices which works on top of UBI.