From: "Kyungmin Park" <kmpark@infradead.org>
To: apgmoorthy <moorthy.apg@samsung.com>
Cc: linux-mtd@lists.infradead.org,
"Kyungmin Park" <kyungmin.park@samsung.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] [PATCH] [MTD] Flex-OneNAND MTD Driver available.
Date: Fri, 26 Sep 2008 09:31:27 +0900 [thread overview]
Message-ID: <9c9fda240809251731y48272a63j988e0001dc50d78@mail.gmail.com> (raw)
In-Reply-To: <000001c91e42$1aa86c50$3dd66c6b@sisodomain.com>
Hi,
A few comments
>
> Signed-off-by: Vishak G <vishak.g@samsung.com>
> Signed-off-by: Rohit Hagargundgi <h.rohit@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> 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 <vishak.g@samsung.com>, Rohit Hagargundgi
> <h.rohit@samsung.com>
> + * 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 <asm/io.h>
>
> +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
next prev parent reply other threads:[~2008-09-26 0:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19198934.52871221827459790.JavaMail.weblogic@epml16>
2008-09-22 7:11 ` Kyungmin Park
2008-09-24 12:35 ` apgmoorthy
2008-09-26 0:31 ` Kyungmin Park [this message]
2008-09-26 4:51 ` Artem Bityutskiy
2008-09-26 5:30 ` Kyungmin Park
2008-09-26 6:26 ` Artem Bityutskiy
2008-09-26 8:01 ` Amit Kumar Sharma
2008-09-26 8:19 ` Artem Bityutskiy
2008-09-29 9:28 ` apgmoorthy
2008-10-09 22:57 ` Kyungmin Park
2008-10-10 6:34 ` David Woodhouse
2008-10-16 4:16 apgmoorthy
2008-10-16 4:28 ` Kyungmin Park
2008-10-20 3:01 ` Kyungmin Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9c9fda240809251731y48272a63j988e0001dc50d78@mail.gmail.com \
--to=kmpark@infradead.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=moorthy.apg@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®