From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dima Zavin Subject: Re: [PATCH V2 1/2] mtd: nand: Allow NAND chip ids to be included standalone. Date: Wed, 6 Apr 2011 23:28:37 -0700 Message-ID: References: <1299542935-20291-1-git-send-email-mnalajal@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp-out.google.com ([74.125.121.67]:17000 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010Ab1DGG2l convert rfc822-to-8bit (ORCPT ); Thu, 7 Apr 2011 02:28:41 -0400 Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id p376SdPB000652 for ; Wed, 6 Apr 2011 23:28:40 -0700 Received: from pzk4 (pzk4.prod.google.com [10.243.19.132]) by kpbe14.cbf.corp.google.com with ESMTP id p376SbXk007804 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 6 Apr 2011 23:28:38 -0700 Received: by pzk4 with SMTP id 4so1656234pzk.1 for ; Wed, 06 Apr 2011 23:28:37 -0700 (PDT) In-Reply-To: <1299542935-20291-1-git-send-email-mnalajal@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Murali Nalajala Cc: dwmw2@infradead.org, linux-arm-msm@vger.kernel.org, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org Acked-by: Dima Zavin On Mon, Mar 7, 2011 at 4:08 PM, Murali Nalajala wrote: > Lets non-standard NAND drivers take advantage of known NAND > chip information. > > The initial development of msm nand driver, driver uses the supported > NAND devices information as a hardcoded table. Remove the existing > hardcoded supported flash device table and read the flash device > information from the flash id table which are part of the mtd subsyst= em. > > Signed-off-by: Dima Zavin > Signed-off-by: Murali Nalajala > --- > Changes in V2 > * Add more description to the commit text. > > =A0drivers/mtd/nand/Kconfig | =A0 10 +++++++--- > =A01 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig > index c895922..782275e 100644 > --- a/drivers/mtd/nand/Kconfig > +++ b/drivers/mtd/nand/Kconfig > @@ -1,3 +1,10 @@ > +config MTD_NAND_IDS > + =A0 =A0 =A0 tristate "Include chip ids for known NAND devices." > + =A0 =A0 =A0 depends on MTD > + =A0 =A0 =A0 help > + =A0 =A0 =A0 =A0 Useful for NAND drivers that do not use the NAND su= bsystem but > + =A0 =A0 =A0 =A0 still like to take advantage of the known chip info= rmation. > + > =A0config MTD_NAND_ECC > =A0 =A0 =A0 =A0tristate > > @@ -123,9 +130,6 @@ config MTD_NAND_OMAP_PREFETCH_DMA > =A0 =A0 =A0 =A0 or in DMA interrupt mode. > =A0 =A0 =A0 =A0 Say y for DMA mode or MPU mode will be used > > -config MTD_NAND_IDS > - =A0 =A0 =A0 tristate > - > =A0config MTD_NAND_RICOH > =A0 =A0 =A0 =A0tristate "Ricoh xD card reader" > =A0 =A0 =A0 =A0default n > -- > 1.7.1.1 > > -- > Sent by a consultant of the Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora F= orum. > >