cmd/mtdparts: Make this select MTD_PARTITIONS
authorTom Rini <trini@konsulko.com>
Wed, 10 Jan 2024 18:46:07 +0000 (13:46 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 22 Jan 2024 19:17:35 +0000 (14:17 -0500)
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
cmd/Kconfig

index 7cd5a59..ce510e2 100644 (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
index 50625e7..5c0a7ab 100644 (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