aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-10 13:46:07 -0500
committerTom Rini <trini@konsulko.com>2024-01-22 14:17:35 -0500
commit246c94f192b9ca9bd4e73cf29f343dfc511fc6d3 (patch)
tree44ed7ac297d0d3a7b16a998daa510ca4aa9f619b
parentfee9e48c8996483ae62bf3ee63f2aa129e8c9172 (diff)
downloadu-boot-246c94f192b9ca9bd4e73cf29f343dfc511fc6d3.zip
u-boot-246c94f192b9ca9bd4e73cf29f343dfc511fc6d3.tar.gz
u-boot-246c94f192b9ca9bd4e73cf29f343dfc511fc6d3.tar.bz2
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 <trini@konsulko.com>
-rw-r--r--board/microchip/mpfs_icicle/Kconfig1
-rw-r--r--cmd/Kconfig1
2 files changed, 1 insertions, 1 deletions
diff --git a/board/microchip/mpfs_icicle/Kconfig b/board/microchip/mpfs_icicle/Kconfig
index 7cd5a59..ce510e2 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 50625e7..5c0a7ab 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