diff mbox series

[2/5] cmd/mtdparts: Make this select MTD_PARTITIONS

Message ID 20240110184610.3909763-2-trini@konsulko.com
State Accepted
Commit 246c94f192b9ca9bd4e73cf29f343dfc511fc6d3
Delegated to: Tom Rini
Headers show
Series [1/5] omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC | expand

Commit Message

Tom Rini Jan. 10, 2024, 6:46 p.m. UTC
Rather than rely on someone selecting or implying this hidden symbol
that the command requires, select it explicitly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 board/microchip/mpfs_icicle/Kconfig | 1 -
 cmd/Kconfig                         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/board/microchip/mpfs_icicle/Kconfig b/board/microchip/mpfs_icicle/Kconfig
index 7cd5a597bbad..ce510e22e81a 100644
--- a/board/microchip/mpfs_icicle/Kconfig
+++ b/board/microchip/mpfs_icicle/Kconfig
@@ -55,7 +55,6 @@  config BOARD_SPECIFIC_OPTIONS # dummy
 	imply MICROCHIP_COREQSPI
 	imply MTD_SPI_NAND
 	imply CMD_MTD
-	imply MTD_PARTITIONS
 	imply CMD_MTDPARTS
 
 endif
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 26aeeeed03b6..d837b0990484 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2697,6 +2697,7 @@  config JFFS2_PART_SIZE
 config CMD_MTDPARTS
 	bool "MTD partition support"
 	depends on MTD
+	select MTD_PARTITIONS
 	help
 	  MTD partitioning tool support.
 	  It is strongly encouraged to avoid using this command