All of lore.kernel.org
 help / color / mirror / Atom feed
From: Troy Kisky <troy.kisky@boundarydevices.com>
To: Richard Genoud <richard.genoud@gmail.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: repost [Fwd: [PATCH 1/5] mtd: nand: move layout structure into nand_ecc_ctrl]
Date: Fri, 15 May 2009 15:11:53 -0700	[thread overview]
Message-ID: <4A0DE8A9.8020108@boundarydevices.com> (raw)
In-Reply-To: <80b317760905151303n50973aceh588cfa8b96842b7f@mail.gmail.com>

Richard Genoud wrote:
>> +       bad_block_marker_offset = 0;
> you should use NAND_LARGE_BADBLOCK_POS defined in nand.h

Thanks, will do

>> +       bad_block_marker_length = 2;
>> +       if (mtd->oobsize == 8) {
>> +               bad_block_marker_offset = 5;
> same with NAND_SMALL_BADBLOCK_POS
> 
>> +               bad_block_marker_length = 1;
>> +       } else if (mtd->oobsize == 16) {
>> +               bad_block_marker_offset = 4;    /* length still 2 */
> 

ditto.

Troy

  reply	other threads:[~2009-05-15 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15 17:38 repost [Fwd: [PATCH 1/5] mtd: nand: move layout structure into nand_ecc_ctrl] Troy Kisky
2009-05-15 20:03 ` Richard Genoud
2009-05-15 22:11   ` Troy Kisky [this message]
2009-05-17  7:31 ` Artem Bityutskiy

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=4A0DE8A9.8020108@boundarydevices.com \
    --to=troy.kisky@boundarydevices.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard.genoud@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.