aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Watts <contact@jookia.org>2024-04-11 15:05:48 +1000
committerDario Binacchi <dario.binacchi@amarulasolutions.com>2024-06-17 09:43:45 +0200
commit2978e716b2d6682514903920cc61758707c0a5c5 (patch)
tree33859aee87809eef760d8982f15c46e681242178
parent9119570eeeacb8b585c6d58b404263c8361080ca (diff)
downloadu-boot-2978e716b2d6682514903920cc61758707c0a5c5.zip
u-boot-2978e716b2d6682514903920cc61758707c0a5c5.tar.gz
u-boot-2978e716b2d6682514903920cc61758707c0a5c5.tar.bz2
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 <contact@jookia.org> Reviewed-by: Michael Trimarchi <michael@amarulasolutins.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
-rw-r--r--drivers/mtd/ubi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 5783d36..fd446d6 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