From patchwork Sat May 22 01:07:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 53232 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 81CF7B7D29 for ; Sat, 22 May 2010 11:09:21 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1OFdCD-0006Ka-Ns; Sat, 22 May 2010 01:08:09 +0000 Received: from fg-out-1718.google.com ([72.14.220.154]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1OFdCA-0006Fz-AT for linux-mtd@lists.infradead.org; Sat, 22 May 2010 01:08:07 +0000 Received: by fg-out-1718.google.com with SMTP id l26so1094115fgb.0 for ; Fri, 21 May 2010 18:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=EMJm5KIVB8sW8HnGGhlNQs5Zg+EHDqml0sX74TO4c1w=; b=fubPoOcAAGEf/1jdXYkR19rrfVwD3n1pbHl+q91dIif9uHO0Bj0K8CGyO6MzJAN4R2 SKNEr2fXsElDDsWz3cp68Kdkx1c7gxf/BP7PZeITMb1Ac/MGmgppEIZl8aM5mJ87lR34 3OAKRJc5cIj22/XXbzDqt3ej9LyoVB8qwKDPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=CGkaO6Rq/2GwnRh7Oaz8mt2NbxXza/XZ9gQcaAgRkYYVcp/JgYlFUAc4Mtq9akCrxv cLvix36QPho64AmbdTdpLVoWwQhG2yNYXjExeKO8Se9Ds403G3mo4mq/U47BK5zXwMVk I+bGoFxqS3a8xNs9JPAgRbshsvVtxFJz8oOno= Received: by 10.87.68.36 with SMTP id v36mr4626071fgk.43.1274490485771; Fri, 21 May 2010 18:08:05 -0700 (PDT) Received: from localhost.localdomain (IGLD-80-230-193-137.inter.net.il [80.230.193.137]) by mx.google.com with ESMTPS id d6sm3834820fga.28.2010.05.21.18.08.04 (version=SSLv3 cipher=RC4-MD5); Fri, 21 May 2010 18:08:05 -0700 (PDT) From: Maxim Levitsky To: linux-mtd Subject: [PATCH 3/3] MTD: Kconfig cleanups Date: Sat, 22 May 2010 04:07:56 +0300 Message-Id: <1274490476-16057-3-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1274490185.15285.22.camel@maxim-laptop> References: <1274490185.15285.22.camel@maxim-laptop> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100521_210806_495900_11A81F08 X-CRM114-Status: GOOD ( 13.07 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.3.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, low trust [72.14.220.154 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (maximlevitsky[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: dwmw2 , Maxim Levitsky X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Move all nand options under 'if MTD_NAND' otherwise xconfig output is broken. make Ricoh xD driver depend on MTD_NAND_ECC_SMC, untill proper solution is made Signed-off-by: Maxim Levitsky --- drivers/mtd/nand/Kconfig | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 98a04b3..8db333f 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -8,6 +8,8 @@ menuconfig MTD_NAND devices. For further information see . +if MTD_NAND + config MTD_NAND_ECC tristate @@ -19,7 +21,7 @@ config MTD_NAND_ECC_SMC Software ECC according to the Smart Media Specification. The original Linux implementation had byte 0 and 1 swapped. -if MTD_NAND + config MTD_NAND_VERIFY_WRITE bool "Verify NAND page writes" @@ -129,6 +131,7 @@ config MTD_NAND_RICOH default n depends on PCI select MTD_SM_COMMON + select MTD_NAND_ECC_SMC help Enable support for Ricoh R5C852 xD card reader You also need to enable ether