summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-09-21 07:58:19 +0200
committerTom Rini <trini@konsulko.com>2016-09-26 13:24:43 -0400
commit8f2fe0c86c56175dd7d5d0e3bc26bef41f224f03 (patch)
treec478fa6b150ebebee69c582a01fd73d6f56e23dc /cmd
parent37cc64460081df4b824e4fc13526c53ea3846f87 (diff)
kconfig: introduce kconfig for UBI
move the UBI config options into Kconfig. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andrew F. Davis <afd@ti.com> Reviewed by: Evgeni Dobrev <evgeni at studio-punkt.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index d28da54ed6..9ed7976f58 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -705,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