[U-Boot] [PATCH v4 7/16] cmd: Expose a Kconfig option to enable UBIFS commands
Maxime Ripard
maxime.ripard at free-electrons.com
Mon Jan 23 14:46:49 CET 2017
From: Boris Brezillon <boris.brezillon at free-electrons.com>
Create a new Kconfig entry to allow CMD_UBIFS selection from Kconfig and
add an hidden LZO option that can be selected by CMD_UBIFS.
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
cmd/Kconfig | 8 ++++++++
lib/Kconfig | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index da8e98e8143f..44980c7dbef3 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -797,4 +797,12 @@ config CMD_UBI
(www.linux-mtd.infradead.org). Activate this option if you want
to use U-Boot UBI commands.
+config CMD_UBIFS
+ tristate "Enable UBIFS - Unsorted block images filesystem commands"
+ select CRC32
+ select RBTREE if ARCH_SUNXI
+ select LZO if ARCH_SUNXI
+ help
+ UBIFS is a file system for flash devices which works on top of UBI.
+
endmenu
diff --git a/lib/Kconfig b/lib/Kconfig
index 5944d967dff4..2dde2e824104 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -122,6 +122,8 @@ config LZ4
frame format currently (2015) implemented in the Linux kernel
(generated by 'lz4 -l'). The two formats are incompatible.
+config LZO
+ bool
endmenu
config ERRNO_STR
--
git-series 0.8.11
More information about the U-Boot
mailing list