From: Blair Barnett <bbarnett@nethra.us.com>
To: "Paulraj, Sandeep" <s-paulraj@ti.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: ONFI 4GB and beyond NAND support
Date: Fri, 05 Mar 2010 13:32:49 -0800 [thread overview]
Message-ID: <4B917881.9000600@nethra.us.com> (raw)
In-Reply-To: <0554BEF07D437848AF01B9C9B5F0BC5D9C18C4EC@dlee01.ent.ti.com>
>> It appears a simple fix for the erasesize is to use 0x7 as the mask, but
>> the oobsize is a little more problematic.
>>
>
> I had similar concerns.
> What we did was to just assume that the OOB size was 128 instead of 224.
> We just don't use and our driver sis not concerned about the other 96 bytes.
>
>> The code
>> mtd->oobsize = (8 << (extid & 0x01)) * (mtd->writesize >> 9);
>>
>> doesn't really work to create a 224 byte oobsize value, not to mention I
>> don't know where to look to create the ECC structure required.
>>
> As I said above just assume that the OOB is 128 bytes
>
>
O.K., thanks for the feedback. I thought the bigger OOB size is there
for allowing more ECC bytes, since the page size is much bigger than
before and will require more error correction bytes.
I'll work on an ONFI implementation and get it out to the list in the
next few weeks.
-blair
prev parent reply other threads:[~2010-03-05 21:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 3:34 ONFI 4GB and beyond NAND support Blair Barnett
2010-03-05 15:24 ` Paulraj, Sandeep
2010-03-05 20:07 ` Blair Barnett
2010-03-05 20:17 ` Paulraj, Sandeep
2010-03-05 21:32 ` Blair Barnett [this message]
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=4B917881.9000600@nethra.us.com \
--to=bbarnett@nethra.us.com \
--cc=linux-mtd@lists.infradead.org \
--cc=s-paulraj@ti.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;
as well as URLs for NNTP newsgroup(s).