public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Brian Foster <brian.foster@maxim-ic.com>
To: <timothy.stotts@transport.alstom.com>
Cc: linux-mtd@lists.infradead.org
Subject: how to support 4096+224 page size with plat_nand ?
Date: Fri, 16 Mar 2012 15:05:03 +0100	[thread overview]
Message-ID: <201203161505.03858.brian.foster@maxim-ic.com> (raw)

Timothy,

 We have also used 4K + 224 NAND (not sure if the
 same part or not) with ‘plat_nand’ (and also with
 our own driver which uses our chip's ECC engine),
 in a v2.6.36-based Linux kernel.  (The kernel's
 version _may_ be important, since I _think_ some
 later kernels directly support 224 (and 218 and
 maybe 256) OOB sizes;  and/or correctly detecting
 the eraseblock size.)

 We didn't bother using the full 224-byts of OOB,
 but instaed are treating the device as having
 only 128-bytes of OOB.  Works fine, albeit we
 did have to add the part to the nand_flash_ids[]
 table since the eraseblock size wasn't correctly
 detected.

cheers!
	-blf-

-- 
Brian Foster
Principal MTS, Software        |  La Ciotat, France
Maxim Integrated Products      |  Web:  http://www.maxim-ic.com/

             reply	other threads:[~2012-03-16 14:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 14:05 Brian Foster [this message]
2012-03-16 23:16 ` how to support 4096+224 page size with plat_nand ? Brian Norris
2012-03-19 14:40   ` STOTTS Timothy
2012-03-20  2:26     ` Brian Norris
  -- strict thread matches above, loose matches on Subject: below --
2012-03-15 16:00 STOTTS Timothy

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=201203161505.03858.brian.foster@maxim-ic.com \
    --to=brian.foster@maxim-ic.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=timothy.stotts@transport.alstom.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