From patchwork Mon Feb 27 17:22:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 732976 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vX7tZ5MRTz9s9r for ; Tue, 28 Feb 2017 04:27:02 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 6B581C21F22; Mon, 27 Feb 2017 17:24:40 +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 31F19C21E7D; Mon, 27 Feb 2017 17:22:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4759FC21CAA; Mon, 27 Feb 2017 17:22:33 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id F17DDC21C5D for ; Mon, 27 Feb 2017 17:22:32 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 7D535207EB; Mon, 27 Feb 2017 18:22:32 +0100 (CET) Received: from localhost (LFbn-1-10722-90.w90-89.abo.wanadoo.fr [90.89.71.90]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4F1E6207FB; Mon, 27 Feb 2017 18:22:22 +0100 (CET) From: Maxime Ripard To: Jagan Teki , Scott Wood Date: Mon, 27 Feb 2017 18:22:07 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Cc: Maxime Ripard , u-boot@lists.denx.de Subject: [U-Boot] [PATCH v5 8/16] cmd: nand: Expose optional suboptions in Kconfig 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" From: Boris Brezillon Sometime we need to enable advanced suboptions of the nand command set. Expose these suboptions in Kconfig. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard --- cmd/Kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 66d3273fac6f..4e7c0fbcdee5 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -441,6 +441,24 @@ config CMD_NAND help NAND support. +if CMD_NAND +config CMD_NAND_TRIMFFS + bool "nand write.trimffs" + help + Allows one to skip empty pages when flashing something on a NAND. + +config CMD_NAND_LOCK_UNLOCK + bool "nand lock/unlock" + help + NAND locking support. + +config CMD_NAND_TORTURE + bool "nand torture" + help + NAND torture support. + +endif # CMD_NAND + config CMD_PART bool "part" select PARTITION_UUIDS