From patchwork Sun Dec 9 18:07:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1010049 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 43CZLv3lgbz9s3q for ; Mon, 10 Dec 2018 05:22:47 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 36A34C22393; Sun, 9 Dec 2018 18:18:21 +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=RCVD_IN_DNSWL_BLOCKED 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 D803DC22801; Sun, 9 Dec 2018 18:09:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7A813C22708; Sun, 9 Dec 2018 18:08:59 +0000 (UTC) Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 974D4C22315 for ; Sun, 9 Dec 2018 18:08:40 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id C0CB120D17; Sun, 9 Dec 2018 19:08:39 +0100 (CET) Received: from localhost.localdomain (unknown [37.171.2.184]) by mail.bootlin.com (Postfix) with ESMTPSA id 72C4D20CC5; Sun, 9 Dec 2018 19:08:28 +0100 (CET) From: Miquel Raynal To: Boris Brezillon , Marek Vasut , Jagan Teki , Tom Rini , u-boot@lists.denx.de Date: Sun, 9 Dec 2018 19:07:44 +0100 Message-Id: <20181209180747.24575-23-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181209180747.24575-1-miquel.raynal@bootlin.com> References: <20181209180747.24575-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Cc: Kyungmin Park , Thomas Petazzoni , Miquel Raynal , Steve Rae , TsiChung Liew Subject: [U-Boot] [PATCH v4 22/25] cmd: mtdparts: Kconfig: join mtdparts command entry with its options 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Move the Kconfig entry of the option right after the entry of the mtdparts command. Signed-off-by: Miquel Raynal --- cmd/Kconfig | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index bf9cc0c52d..22e9807aea 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1741,20 +1741,6 @@ config CMD_MTDPARTS 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" - depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH - help - Defines a default MTD IDs list for use with MTD partitions in the - Linux MTD command line partitions format. - -config MTDPARTS_DEFAULT - string "Default MTD partition scheme" - depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH - help - Defines a default MTD partitioning scheme in the Linux MTD command - line partitions format - config CMD_MTDPARTS_SPREAD bool "Padd partition size to take account of bad blocks" depends on CMD_MTDPARTS @@ -1765,6 +1751,20 @@ config CMD_MTDPARTS_SPREAD at least as large as the size specified in the mtdparts variable and 2) each partition starts on a good block. +config MTDIDS_DEFAULT + string "Default MTD IDs" + depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH + help + Defines a default MTD IDs list for use with MTD partitions in the + Linux MTD command line partitions format. + +config MTDPARTS_DEFAULT + string "Default MTD partition scheme" + depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH + help + Defines a default MTD partitioning scheme in the Linux MTD command + line partitions format + config CMD_REISER bool "reiser - Access to reiserfs filesystems" help