kconfig: introduce kconfig for UBI
[platform/kernel/u-boot.git] / cmd / Kconfig
index d69b817..9ed7976 100644 (file)
@@ -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
@@ -696,4 +705,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