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>
This commit is contained in:
Tom Rini 2024-01-10 13:46:07 -05:00
parent fee9e48c89
commit 246c94f192
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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