aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-02-27 18:22:06 +0100
committerJagan Teki <jagan@amarulasolutions.com>2017-04-07 11:23:45 +0530
commit173aafbf9dbb55f7e0133110d7f1a80a71db740e (patch)
tree691475ec03788ace594c4ab33a3de22281dee418
parentaa049152dc4293760d96880c39edaa04df979254 (diff)
downloadu-boot-173aafbf9dbb55f7e0133110d7f1a80a71db740e.zip
u-boot-173aafbf9dbb55f7e0133110d7f1a80a71db740e.tar.gz
u-boot-173aafbf9dbb55f7e0133110d7f1a80a71db740e.tar.bz2
cmd: Expose a Kconfig option to enable UBIFS commands
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>
-rw-r--r--cmd/Kconfig8
-rw-r--r--lib/Kconfig2
2 files changed, 10 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7404ae5c..7c1f81a 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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
diff --git a/lib/Kconfig b/lib/Kconfig
index 1048068..a0d5d92 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -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