]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/Kconfig
efi_loader: Allow to compile helloworld.efi w/o bundling it
[people/ms/u-boot.git] / cmd / Kconfig
index d51645c634e0f8601f92a9c26994ec6af736d5ff..b16c6032aa2d493f7f3ff4422b47055b77c69c23 100644 (file)
@@ -13,7 +13,6 @@ config CMDLINE
 
 config HUSH_PARSER
        bool "Use hush shell"
-       select SYS_HUSH_PARSER
        depends on CMDLINE
        help
          This option enables the "hush" shell (from Busybox) as command line
@@ -24,11 +23,6 @@ config HUSH_PARSER
          If disabled, you get the old, much simpler behaviour with a somewhat
          smaller memory footprint.
 
-config SYS_HUSH_PARSER
-       bool
-       help
-         Backward compatibility.
-
 config SYS_PROMPT
        string "Shell prompt"
        default "=> "
@@ -38,6 +32,12 @@ config SYS_PROMPT
 
 menu "Autoboot options"
 
+config AUTOBOOT
+       bool "Autoboot"
+       default y
+       help
+         This enables the autoboot.  See doc/README.autoboot for detail.
+
 config AUTOBOOT_KEYED
        bool "Stop autobooting via specific input key / string"
        default n
@@ -114,6 +114,8 @@ config AUTOBOOT_STOP_STR_SHA256
 
 endmenu
 
+source "cmd/fastboot/Kconfig"
+
 comment "Commands"
 
 menu "Info commands"
@@ -165,6 +167,13 @@ config CMD_BOOTZ
        help
          Boot the Linux zImage
 
+config CMD_BOOTI
+       bool "booti"
+       depends on ARM64
+       default y
+       help
+         Boot an AArch64 Linux Kernel image from memory.
+
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
@@ -172,6 +181,28 @@ config CMD_BOOTEFI
        help
          Boot an EFI image from memory.
 
+config CMD_BOOTEFI_HELLO_COMPILE
+       bool "Compile a standard EFI hello world binary for testing"
+       depends on CMD_BOOTEFI && (ARM || X86)
+       default y
+       help
+         This compiles a standard EFI hello world application with U-Boot so
+         that it can be used with the test/py testing framework. This is useful
+         for testing that EFI is working at a basic level, and for bringing
+         up EFI support on a new architecture.
+
+         No additional space will be required in the resulting U-Boot binary
+         when this option is enabled.
+
+config CMD_BOOTEFI_HELLO
+       bool "Allow booting a standard EFI hello world for testing"
+       depends on CMD_BOOTEFI_HELLO_COMPILE
+       help
+         This adds a standard EFI hello world application to U-Boot so that
+         it can be used with the 'bootefi hello' command. This is useful
+         for testing that EFI is working at a basic level, and for bringing
+         up EFI support on a new architecture.
+
 config CMD_ELF
        bool "bootelf, bootvx"
        default y
@@ -395,6 +426,7 @@ config CMD_USB
 
 config CMD_DFU
        bool "dfu"
+       select USB_FUNCTION_DFU
        help
          Enables the command "dfu" which is used to have U-Boot create a DFU
          class device via USB.
@@ -667,6 +699,19 @@ config CMD_TPM_TEST
 
 endmenu
 
+menu "Firmware commands"
+config CMD_CROS_EC
+       bool "Enable crosec command"
+       depends on CROS_EC
+       default y
+       help
+         Enable command-line access to the Chrome OS EC (Embedded
+         Controller). This provides the 'crosec' command which has
+         a number of sub-commands for performing EC tasks such as
+         updating its flash, accessing a small saved context area
+         and talking to the I2C bus behind the EC (if there is one).
+endmenu
+
 menu "Filesystem commands"
 config CMD_EXT2
        bool "ext2 command support"
@@ -696,4 +741,16 @@ config CMD_FS_GENERIC
          fs types.
 endmenu
 
+config CMD_UBI
+       tristate "Enable UBI - Unsorted block images commands"
+       select CRC32
+       select MTD_UBI
+       help
+         UBI is a software layer above MTD layer which admits use of LVM-like
+         logical volumes on top of MTD devices, hides some complexities of
+         flash chips like wear and bad blocks and provides some other useful
+         capabilities. Please, consult the MTD web site for more details
+         (www.linux-mtd.infradead.org). Activate this option if you want
+         to use U-Boot UBI commands.
+
 endmenu