]> git.sur5r.net Git - u-boot/commitdiff
cmd: Expose a Kconfig option to enable UBIFS commands
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 27 Feb 2017 17:22:06 +0000 (18:22 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:45 +0000 (11:23 +0530)
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@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Jagan Teki <jagan@openedev.com>
cmd/Kconfig
lib/Kconfig

index 7404ae5c7736452d9f3db8e3f20eac49ff633f05..7c1f81a4a4e8e595229e805856a34df9a5e95a9f 100644 (file)
@@ -835,4 +835,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
index 10480689f2a4cfb68eab82b2bcea706de831bd5e..a0d5d926eb6875c598fc44ed17c4496dc6521bd5 100644 (file)
@@ -135,6 +135,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