]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 7cd5a597bbada3dfd00b2b22656038e413800ba5..ce510e22e81ab362ade68921a2e4a0c93f31a09c 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 50625e7c16a6e8323b84d3f6091df3a39c1d52ef..5c0a7ab50c3fc728c6f58c7812a8989d73c21562 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