From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATH] at91: add hwecc method for nand
Date: Thu, 18 Mar 2010 17:46:46 -0500 [thread overview]
Message-ID: <20100318224646.GA28540@loki.buserror.net> (raw)
In-Reply-To: <e24af7501003172355q6d247de1l67a2bf68cb601814@mail.gmail.com>
On Thu, Mar 18, 2010 at 11:55:29AM +0500, Nikolay Petukhov wrote:
> + /* move to ECC position if needed */
> + if (eccpos[0] != 0) {
> + /* This only works on large pages
> + * because the ECC controller waits for
> + * NAND_CMD_RNDOUTSTART after the
> + * NAND_CMD_RNDOUT.
> + * anyway, for small pages, the eccpos[0] == 0
> + */
> + chip->cmdfunc(mtd, NAND_CMD_RNDOUT,
> + mtd->writesize + eccpos[0], -1);
> + }
[snip]
> + /* get back to oob start (end of page) */
> + chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize, -1);
Is the second RNDOUT OK on small page NAND?
> + //struct atmel_nand_host *host = nand_chip->priv;
Just remove the line.
-Scott
next prev parent reply other threads:[~2010-03-18 22:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 6:55 [U-Boot] [PATH] at91: add hwecc method for nand Nikolay Petukhov
2010-03-18 22:46 ` Scott Wood [this message]
2010-03-19 5:49 ` Nikolay Petukhov
2010-03-19 22:17 ` Scott Wood
2010-03-28 12:42 ` [U-Boot] [PATCH 0/2] atmel_nand with HW-ECC Alexander Holler
2010-03-28 12:42 ` [U-Boot] [PATCH 1/2] Add AT91_ECC_BASE to at91sam9260.h to use " Alexander Holler
2010-03-28 12:42 ` [U-Boot] [PATCH 2/2] Fix compile errors for atmel_nand with hw-ecc and new SoC access Alexander Holler
2010-04-02 16:38 ` Scott Wood
2010-04-03 11:08 ` Alexander Holler
2010-04-03 11:08 ` [U-Boot] [PATCH 1/2] Add AT91_ECC_BASE to at91sam9260.h to use atmel_nand with HW-ECC Alexander Holler
2010-04-03 11:08 ` [U-Boot] [PATCH 2/2] Fix compile errors for atmel_nand with hw-ecc and new SoC access Alexander Holler
2010-04-04 16:26 ` Tom
2010-04-04 17:26 ` Alexander Holler
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=20100318224646.GA28540@loki.buserror.net \
--to=scottwood@freescale.com \
--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