From: Florian Fainelli <florian@openwrt.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v4] NAND: add support for reading ONFI page table
Date: Thu, 17 Mar 2011 17:59:40 +0100 [thread overview]
Message-ID: <201103171759.40646.florian@openwrt.org> (raw)
In-Reply-To: <20110316234255.GA1629@schlenkerla>
Le jeudi 17 mars 2011 00:42:55, Scott Wood a ?crit :
> On Fri, Feb 25, 2011 at 12:01:34AM -0000, Florian Fainelli wrote:
> > From: Florian Fainelli <florian@openwrt.org>
> >
> > This patch adds support for reading an ONFI page parameter from a NAND
> > device supporting it. If this is the case, struct nand_chip onfi_version
> > member contains the supported ONFI version, 0 otherwise.
> >
> > This allows NAND drivers past nand_scan_ident to set the best timings for
> > the NAND chip.
> >
> > Signed-off-by: Florian Fainelli <florian@openwrt.org>
>
> Applied to u-boot-nand-flash next with this change:
>
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index 0d7c819..fa286a8 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -2585,7 +2585,7 @@ static const struct nand_flash_dev
> *nand_get_flash_type(st type = nand_flash_ids;
>
> for (; type->name != NULL; type++)
> - if (dev_id == type->id)
> + if (*dev_id == type->id)
> break;
My bad, thanks for fixing this and committing the patch!
--
Florian
next prev parent reply other threads:[~2011-03-17 16:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-10 22:16 [U-Boot] [PATCH 1/2] NAND: add NAND_CMD_PARAM (0xec) definition Florian Fainelli
2010-12-10 22:16 ` [U-Boot] [PATCH 2/2] NAND: add support for reading ONFI page table Florian Fainelli
2010-12-11 0:15 ` [U-Boot] [U-Boot, " Scott Wood
2010-12-11 17:08 ` Florian Fainelli
2010-12-28 0:21 ` [U-Boot] [PATCH v2] " Florian Fainelli
2010-12-28 0:23 ` Florian Fainelli
2011-01-04 20:42 ` Scott Wood
2011-02-14 15:48 ` [U-Boot] [PATCH v3] " Florian Fainelli
2011-02-14 23:46 ` Scott Wood
2011-02-15 5:28 ` Wolfgang Denk
2011-02-25 9:59 ` Florian Fainelli
2011-02-25 10:01 ` [U-Boot] [PATCH v4] " Florian Fainelli
2011-03-16 23:42 ` [U-Boot] [U-Boot, " Scott Wood
2011-03-17 16:59 ` Florian Fainelli [this message]
2010-12-10 23:47 ` [U-Boot] [U-Boot, 1/2] NAND: add NAND_CMD_PARAM (0xec) definition Scott Wood
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=201103171759.40646.florian@openwrt.org \
--to=florian@openwrt.org \
--cc=u-boot@lists.denx.de \
/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