From: Tom Rini Date: Wed, 10 Jan 2024 18:46:07 +0000 (-0500) Subject: cmd/mtdparts: Make this select MTD_PARTITIONS X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=246c94f192b9ca9bd4e73cf29f343dfc511fc6d3;p=u-boot.git cmd/mtdparts: Make this select MTD_PARTITIONS Rather than rely on someone selecting or implying this hidden symbol that the command requires, select it explicitly. Signed-off-by: Tom Rini --- diff --git a/board/microchip/mpfs_icicle/Kconfig b/board/microchip/mpfs_icicle/Kconfig index 7cd5a597bb..ce510e22e8 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 50625e7c16..5c0a7ab50c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2702,6 +2702,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