diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-02-27 18:22:05 +0100 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-04-07 11:23:45 +0530 |
commit | aa049152dc4293760d96880c39edaa04df979254 (patch) | |
tree | d9e40b89f76a94c555c01652bc20e24bb3f7c4a4 | |
parent | 0269dfae0e9f0303e3f0044e90a1ba476e8328f2 (diff) | |
download | u-boot-midas-aa049152dc4293760d96880c39edaa04df979254.tar.gz u-boot-midas-aa049152dc4293760d96880c39edaa04df979254.tar.bz2 u-boot-midas-aa049152dc4293760d96880c39edaa04df979254.zip |
mtd: ubi: Select RBTREE option from MTD_UBI Kconfig entry
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>
-rw-r--r-- | drivers/mtd/ubi/Kconfig | 1 | ||||
-rw-r--r-- | lib/Kconfig | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 0c82395317..cb9ba78681 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -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 diff --git a/lib/Kconfig b/lib/Kconfig index 5115d047f8..10480689f2 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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 |