From: Miquel Raynal Date: Sat, 29 Sep 2018 10:58:30 +0000 (+0200) Subject: cmd: mtdparts: describe as legacy X-Git-Tag: v2018.11-rc2~70^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=938db6fe5da3581ed2c17d64c7e016a7a8df5237;p=oweals%2Fu-boot.git cmd: mtdparts: describe as legacy The 'mtdparts' command is not needed anymore. While the environment variable is still valid (and useful, along with the 'mtdids' one), the command has been replaced by 'mtd' which is much more close to the MTD stack and do not add its own specific glue. Signed-off-by: Miquel Raynal Reviewed-by: Stefan Roese Reviewed-by: Boris Brezillon --- diff --git a/cmd/Kconfig b/cmd/Kconfig index b571e84cc1..12d19fd675 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1699,7 +1699,11 @@ config CMD_MTDPARTS bool "MTD partition support" select MTD_DEVICE if (CMD_NAND || NAND) help - MTD partition support + MTD partitioning tool support. + It is strongly encouraged to avoid using this command + anymore along with 'sf', 'nand', 'onenand'. One can still + declare the partitions in the mtdparts environment variable + but better use the MTD stack and the 'mtd' command instead. config MTDIDS_DEFAULT string "Default MTD IDs"