From patchwork Wed Sep 26 15:07:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 975206 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42L1cD4pcxz9s1c for ; Thu, 27 Sep 2018 01:11:24 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 6372DC21E18; Wed, 26 Sep 2018 15:09:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C57AEC21E0B; Wed, 26 Sep 2018 15:08:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E3034C21E6A; Wed, 26 Sep 2018 15:08:11 +0000 (UTC) Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 032E7C21E44 for ; Wed, 26 Sep 2018 15:08:04 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id BE9FB208EB; Wed, 26 Sep 2018 17:08:02 +0200 (CEST) Received: from localhost.localdomain (AAubervilliers-681-1-42-80.w90-88.abo.wanadoo.fr [90.88.160.80]) by mail.bootlin.com (Postfix) with ESMTPSA id C3ADF208F4; Wed, 26 Sep 2018 17:07:43 +0200 (CEST) From: Miquel Raynal To: Jagan Teki , Tom Rini , Daniel Schwierzeck Date: Wed, 26 Sep 2018 17:07:39 +0200 Message-Id: <20180926150739.15316-8-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180926150739.15316-1-miquel.raynal@bootlin.com> References: <20180926150739.15316-1-miquel.raynal@bootlin.com> Cc: Boris Brezillon , Antoine Tenart , Allan Nielsen , u-boot@lists.denx.de, Miquel Raynal , Stefan Roese Subject: [U-Boot] [PATCH v9 7/7] cmd: mtdparts: describe as legacy X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- cmd/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index f82addca0a..da21d4e010 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1680,7 +1680,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"