From: Maxime Ripard <maxime.ripard@free-electrons.com>
Date: Fri, 3 Mar 2017 13:53:22 +0000 (+0100)
Subject: cmd: ubifs: Add a dependency on CMD_UBI
X-Git-Tag: v2025.01-rc5-pxa1908~7231^2~3
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=2bc734b1eb9d77c1e9f64ed0ff364f293ce8d074;p=u-boot.git

cmd: ubifs: Add a dependency on CMD_UBI

CMD_UBIFS can't compile without CMD_UBI enabled. Make sure we can't end up
in that case.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Heiko Schocher <hs@denx.de>
---

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 85fe728569..c9b17f0e62 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -858,6 +858,7 @@ config CMD_UBI
 
 config CMD_UBIFS
 	tristate "Enable UBIFS - Unsorted block images filesystem commands"
+	depends on CMD_UBI
 	select CRC32
 	select RBTREE if ARCH_SUNXI
 	select LZO if ARCH_SUNXI