From: Boris Brezillon Date: Mon, 27 Feb 2017 17:22:05 +0000 (+0100) Subject: mtd: ubi: Select RBTREE option from MTD_UBI Kconfig entry X-Git-Tag: v2017.05-rc2~60^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa049152dc4293760d96880c39edaa04df979254;p=oweals%2Fu-boot.git 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 Signed-off-by: Maxime Ripard Acked-by: Jagan Teki [Rebased on master] Signed-off-by: Jagan Teki --- 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