]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - cmd/Kconfig
Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"
[thirdparty/u-boot.git] / cmd / Kconfig
index 311b0c204283cafe4572367431974e1ac357134e..38305197602fdfb10f4386856a6bf86d59325578 100644 (file)
@@ -22,6 +22,31 @@ config HUSH_PARSER
          If disabled, you get the old, much simpler behaviour with a somewhat
          smaller memory footprint.
 
+menu "Hush flavor to use"
+depends on HUSH_PARSER
+
+config HUSH_OLD_PARSER
+       bool "Use hush old parser"
+       default y
+       help
+         This option enables the old flavor of hush based on hush Busybox from
+         2005.
+
+         It is actually the default U-Boot shell when decided to use hush as shell.
+
+config HUSH_MODERN_PARSER
+       bool "Use hush modern parser"
+       help
+         This option enables the new flavor of hush based on hush upstream
+         Busybox.
+
+         This parser is experimental and not well tested.
+
+config HUSH_SELECTABLE
+       bool
+       default y if HUSH_OLD_PARSER && HUSH_MODERN_PARSER
+endmenu
+
 config CMDLINE_EDITING
        bool "Enable command line editing"
        default y
@@ -69,7 +94,7 @@ config SYS_PROMPT_HUSH_PS2
 
 config SYS_MAXARGS
        int "Maximum number arguments accepted by commands"
-       default 16
+       default 64
 
 config SYS_XTRACE
        bool "Command execution tracer"
@@ -164,9 +189,21 @@ config CMD_HISTORY
          Show the command-line history, i.e. a list of commands that are in
          the history buffer.
 
+config CMD_HISTORY_USE_CALLOC
+       bool "dynamically allocate memory"
+       default y
+       depends on CMD_HISTORY
+       help
+         Saying Y to this will use calloc to get the space for history
+         storing. Otherwise the history buffer will be an uninitialized
+         static array directly, without the memory allocation, and it is
+         writable after relocation to RAM. If u-boot is running from ROM
+         all the time or unsure, say Y to this.
+
 config CMD_LICENSE
        bool "license"
        select BUILD_BIN2C
+       depends on GZIP
        help
          Print GPL license text
 
@@ -206,6 +243,12 @@ config CMD_SBI
        help
          Display information about the SBI implementation.
 
+config CMD_SMBIOS
+       bool "smbios"
+       depends on SMBIOS
+       help
+         Display the SMBIOS information.
+
 endmenu
 
 menu "Boot commands"
@@ -274,7 +317,7 @@ config CMD_BOOTMETH
 
 config BOOTM_EFI
        bool "Support booting UEFI FIT images"
-       depends on CMD_BOOTEFI && CMD_BOOTM && FIT
+       depends on EFI_BINARY_EXEC && CMD_BOOTM && FIT
        default y
        help
          Support booting UEFI FIT images via the bootm command.
@@ -314,9 +357,19 @@ config CMD_BOOTEFI
        help
          Boot an EFI image from memory.
 
+if CMD_BOOTEFI
+config CMD_BOOTEFI_BINARY
+       bool "Allow booting an EFI binary directly"
+       depends on EFI_BINARY_EXEC
+       default y
+       help
+         Select this option to enable direct execution of binary at 'bootefi'.
+         This subcommand will allow you to load the UEFI binary using
+         other U-Boot commands or external methods and then run it.
+
 config CMD_BOOTEFI_BOOTMGR
        bool "UEFI Boot Manager command"
-       depends on BOOTEFI_BOOTMGR && CMD_BOOTEFI
+       depends on EFI_BOOTMGR
        default y
        help
          Select this option to enable the 'bootmgr' subcommand of 'bootefi'.
@@ -325,7 +378,6 @@ config CMD_BOOTEFI_BOOTMGR
 
 config CMD_BOOTEFI_HELLO_COMPILE
        bool "Compile a standard EFI hello world binary for testing"
-       depends on CMD_BOOTEFI && !CPU_V7M
        default y
        help
          This compiles a standard EFI hello world application with U-Boot so
@@ -338,7 +390,7 @@ config CMD_BOOTEFI_HELLO_COMPILE
 
 config CMD_BOOTEFI_HELLO
        bool "Allow booting a standard EFI hello world for testing"
-       depends on CMD_BOOTEFI_HELLO_COMPILE
+       depends on CMD_BOOTEFI_BINARY && CMD_BOOTEFI_HELLO_COMPILE
        default y if CMD_BOOTEFI_SELFTEST
        help
          This adds a standard EFI hello world application to U-Boot so that
@@ -347,6 +399,7 @@ config CMD_BOOTEFI_HELLO
          up EFI support on a new architecture.
 
 source lib/efi_selftest/Kconfig
+endif
 
 config CMD_BOOTMENU
        bool "bootmenu"
@@ -389,6 +442,17 @@ config CMD_ELF
        help
          Boot an ELF/vxWorks image from the memory.
 
+config CMD_ELF_FDT_SETUP
+       bool "Flattened Device Tree setup in bootelf cmd"
+       default n
+       depends on CMD_ELF
+       select LIB_LIBFDT
+       select LMB
+       help
+         Do FDT setup in bootelf command optionally by param -d, which
+         allows to bring additional system info (e.g. /memory node) to
+         the Operating System or application.
+
 config CMD_FDT
        bool "Flattened Device Tree utility commands"
        default y
@@ -437,6 +501,16 @@ config CMD_XIMG
        help
          Extract a part of a multi-image.
 
+config SYS_XIMG_LEN
+       hex "imxtract max gunzip size"
+       default 0x800000
+       depends on CMD_XIMG && GZIP
+       help
+         This provides the size of the commad-line argument area
+         used by imxtract for extracting pieces of FIT image.
+         It should be large enough to fit uncompressed size of
+         FIT piece we are extracting.
+
 config CMD_SPL
        bool "spl export - Export boot information for Falcon boot"
        depends on SPL
@@ -490,6 +564,8 @@ config THOR_RESET_OFF
 
 config CMD_ZBOOT
        bool "zboot - x86 boot command"
+       depends on ZBOOT
+       default y
        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
@@ -640,6 +716,7 @@ config CRC32_VERIFY
 
 config CMD_EEPROM
        bool "eeprom - EEPROM subsystem"
+       depends on DM_I2C || SYS_I2C_LEGACY
        help
          (deprecated, needs conversion to driver model)
          Provides commands to read and write EEPROM (Electrically Erasable
@@ -725,6 +802,7 @@ config LOOPW
 config CMD_MD5SUM
        bool "md5sum"
        select MD5
+       select HASH
        help
          Compute MD5 checksum.
 
@@ -991,7 +1069,7 @@ config CMD_FASTBOOT
 config CMD_FLASH
        bool "flinfo, erase, protect"
        default y
-       depends on MTD || FLASH_CFI_DRIVER || MTD_NOR_FLASH
+       depends on FLASH_CFI_DRIVER || MTD_NOR_FLASH
        help
          NOR flash support.
            flinfo - print FLASH memory information
@@ -2064,7 +2142,7 @@ config CMD_EFIDEBUG
 config CMD_EFICONFIG
        bool "eficonfig - provide menu-driven uefi variables maintenance interface"
        default y if !HAS_BOARD_SIZE_LIMIT
-       depends on BOOTEFI_BOOTMGR
+       depends on EFI_BOOTMGR
        select MENU
        help
          Enable the 'eficonfig' command which provides the menu-driven UEFI
@@ -2608,6 +2686,7 @@ config JFFS2_PART_SIZE
 config CMD_MTDPARTS
        bool "MTD partition support"
        depends on MTD
+       select MTD_PARTITIONS
        help
          MTD partitioning tool support.
          It is strongly encouraged to avoid using this command
@@ -2649,15 +2728,6 @@ config MTDPARTS_DEFAULT
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
 
-config CMD_REISER
-       bool "reiser - Access to reiserfs filesystems"
-       help
-         This provides two commands which operate on a resierfs filesystem,
-         commonly used some years ago:
-
-           reiserls - list files
-           reiserload - load a file
-
 config CMD_YAFFS2
        bool "yaffs2 - Access of YAFFS2 filesystem"
        depends on YAFFS2