[U-Boot] [PATCH v3 23/28] mtd: ubi: remove dependency on command in Kconfig

Miquel Raynal
2018-12-04T23:57:09Z

Now that the defconfigs have been fixed, remove the dependencies on
commands in Kconfig. The necessary symbols are enabled so this will
not break anything.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
drivers/mtd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
index 486634b562..68b1029734 100644
--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -24,5 +24,5 @@ ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
obj-y += nand/
obj-y += onenand/
obj-y += spi/
-obj-$(CONFIG_CMD_UBI) += ubi/
+obj-$(CONFIG_MTD_UBI) += ubi/
endif
--
2.19.1