From: John Watts Date: Thu, 11 Apr 2024 05:05:48 +0000 (+1000) Subject: ubi: Depend on MTD X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=2978e716b2d6682514903920cc61758707c0a5c5;p=u-boot.git ubi: Depend on MTD UBI required MTD to build correctly, add it as a Kconfig dependency. Link: https://lore.kernel.org/all/20240411-mtd-v1-1-fe300f6ab657@jookia.org Signed-off-by: John Watts Reviewed-by: Michael Trimarchi Reviewed-by: Heiko Schocher Signed-off-by: Dario Binacchi --- diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 5783d36c04..fd446d6efb 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -9,6 +9,7 @@ config UBI_SILENCE_MSG config MTD_UBI bool "Enable UBI - Unsorted block images" + depends on MTD select RBTREE select MTD_PARTITIONS help