public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale•com>
To: Ron Madrid <ron_madrid@sbcglobal•net>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: Kernel marking NAND blocks bad
Date: Wed, 02 Jul 2008 15:03:50 -0500	[thread overview]
Message-ID: <486BDF26.2030006@freescale.com> (raw)
In-Reply-To: <972393.72007.qm@web83508.mail.sp1.yahoo.com>

Ron Madrid wrote:
> /* Large Page FLASH with FMR[ECCM] = 0 */
> static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = {
> 	.eccbytes = 12,
> 	.eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56},
> -	.oobfree = { {1, 5}, {9, 13}, {25, 13}, {41, 13}, {57, 7} },
> +	.oobfree = { {2, 4}, {9, 13}, {25, 13}, {41, 13}, {57, 7} },
> 	.oobavail = 48,
> };
> 
> /* Large Page FLASH with FMR[ECCM] = 1 */
> static struct nand_ecclayout fsl_elbc_oob_lp_eccm1 = {
> 	.eccbytes = 12,
> 	.eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
> -	.oobfree = { {1, 7}, {11, 13}, {27, 13}, {43, 13}, {59, 5} },
> +	.oobfree = { {2, 6}, {11, 13}, {27, 13}, {43, 13}, {59, 5} },
> 	.oobavail = 48,
> };

Anton's recent patchset (posted to the MTD list) should fix this.

-scott

  reply	other threads:[~2008-07-02 20:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 19:35 Kernel marking NAND blocks bad Ron Madrid
2008-07-02 19:46 ` Scott Wood
2008-07-02 19:59   ` Ron Madrid
2008-07-02 20:03     ` Scott Wood [this message]
2008-07-02 21:13       ` Ron Madrid

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=486BDF26.2030006@freescale.com \
    --to=scottwood@freescale$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=ron_madrid@sbcglobal$(echo .)net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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