From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753249AbYIZAbh (ORCPT ); Thu, 25 Sep 2008 20:31:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751531AbYIZAb3 (ORCPT ); Thu, 25 Sep 2008 20:31:29 -0400 Received: from mail-gx0-f16.google.com ([209.85.217.16]:45188 "EHLO mail-gx0-f16.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbYIZAb2 (ORCPT ); Thu, 25 Sep 2008 20:31:28 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=kFYb8YKw4D4INo0/2lfw7AoC1FqIlKYCLFhzJdEJBfo/1nxpd0yBEDfMgqKHkJPOGz CkEZmfbl22ZFLIOPjCrGwH87i+lCJikqbzealJds3gAmU9ou6XiGF3vWYBkzDTB82eqJ EbJTsMdcvb3p07MyiJPSmJiDfiI289DJboQbo= Message-ID: <9c9fda240809251731y48272a63j988e0001dc50d78@mail.gmail.com> Date: Fri, 26 Sep 2008 09:31:27 +0900 From: "Kyungmin Park" To: apgmoorthy Subject: Re: [ANNOUNCE] [PATCH] [MTD] Flex-OneNAND MTD Driver available. Cc: linux-mtd@lists.infradead.org, "Kyungmin Park" , lkml In-Reply-To: <000001c91e42$1aa86c50$3dd66c6b@sisodomain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19198934.52871221827459790.JavaMail.weblogic@epml16> <9c9fda240809220011w49c0875q804f836550ff3476@mail.gmail.com> <000001c91e42$1aa86c50$3dd66c6b@sisodomain.com> X-Google-Sender-Auth: 3037c4f2156fc5d3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, A few comments > > Signed-off-by: Vishak G > Signed-off-by: Rohit Hagargundgi Acked-by: Kyungmin Park > --- > diff -uprN a/drivers/mtd/onenand/onenand_base.c > b/drivers/mtd/onenand/onenand_base.c > --- a/drivers/mtd/onenand/onenand_base.c 2008-09-16 > 20:48:12.000000000 +0530 > +++ b/drivers/mtd/onenand/onenand_base.c 2008-09-24 > 17:51:34.000000000 +0530 > @@ -9,6 +9,10 @@ > * auto-placement support, read-while load support, various fixes > * Copyright (C) Nokia Corporation, 2007 > * > + * Vishak G , Rohit Hagargundgi > > + * Flex-OneNAND support > + * Copyright (C) Samsung Electronics, 2008 > + * > * This program is free software; you can redistribute it and/or modify > * it under the terms of the GNU General Public License version 2 as > * published by the Free Software Foundation. > @@ -27,6 +31,37 @@ > > #include > > +const static int boundary[] = { > + FLEXONENAND_DIE0_BOUNDARY, > + FLEXONENAND_DIE1_BOUNDARY, > +}; > + > +const static int lock[] = { > + FLEXONENAND_DIE0_ISLOCKED, > + FLEXONENAND_DIE1_ISLOCKED, > +}; > + static const as others. > diff -uprN a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h > --- a/include/mtd/mtd-abi.h 2008-09-16 20:48:12.000000000 +0530 > +++ b/include/mtd/mtd-abi.h 2008-09-24 14:09:06.000000000 +0530 > @@ -102,7 +102,11 @@ struct nand_oobinfo { > uint32_t useecc; > uint32_t eccbytes; > uint32_t oobfree[8][2]; > +#ifdef CONFIG_MTD_ONENAND > + uint32_t eccpos[128]; > +#else > uint32_t eccpos[32]; > +#endif > }; > > struct nand_oobfree { > @@ -117,7 +121,11 @@ struct nand_oobfree { > */ > struct nand_ecclayout { > uint32_t eccbytes; > +#ifdef CONFIG_MTD_ONENAND > + uint32_t eccpos[128]; > +#else > uint32_t eccpos[64]; > +#endif > uint32_t oobavail; > struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; > }; > > This patch is already included others. Please remove it at this patch. Thank you, Kyungmin Park