]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: ubi: Select RBTREE option from MTD_UBI Kconfig entry
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 27 Feb 2017 17:22:05 +0000 (18:22 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:45 +0000 (11:23 +0530)
Expose the RBTREE feature through Kconfig and select this option from the
MTD_UBI option.

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>
[Rebased on master]
Signed-off-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/ubi/Kconfig
lib/Kconfig

index 0c82395317abc1a42e6ca4076325ebff627f9db6..cb9ba78681edef0163945fdbc7e89ca7ad0d369e 100644 (file)
@@ -3,6 +3,7 @@ menu "UBI support"
 config MTD_UBI
        bool "Enable UBI - Unsorted block images"
        select CRC32
+       select RBTREE if ARCH_SUNXI
        help
          UBI is a software layer above MTD layer which admits of LVM-like
          logical volumes on top of MTD devices, hides some complexities of
index 5115d047f86f6c192440705c645d7d4d02140181..10480689f2a4cfb68eab82b2bcea706de831bd5e 100644 (file)
@@ -61,6 +61,9 @@ config SPL_TINY_MEMSET
          size-constrained envrionments even this may be too big. Enable this
          option to reduce code size slightly at the cost of some speed.
 
+config RBTREE
+       bool
+
 source lib/dhry/Kconfig
 
 source lib/rsa/Kconfig