From 22cf953a407a8e44746de121a5ab2a78e8e3f24c Mon Sep 17 00:00:00 2001
From: Karl Beldan <karl.beldan-ext@sagemcom.com>
Date: Wed, 12 Jul 2017 16:11:46 +0000
Subject: [PATCH] cmd: Kconfig: Make CMD_UBI select CMD_MTDPARTS

Many configs still define CMD_MTDPARTS in their non-Kconfig but
CMD_MTDPARTS has now moved to Kconfig.

Signed-off-by: Karl Beldan <karl.beldan-ext@sagemcom.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 87ee2ea613..92576f5734 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1255,6 +1255,7 @@ config CMD_UBI
 	tristate "Enable UBI - Unsorted block images commands"
 	select CRC32
 	select MTD_UBI
+	select CMD_MTDPARTS
 	default y if NAND_SUNXI
 	help
 	  UBI is a software layer above MTD layer which admits use of LVM-like
-- 
2.39.5