From: Artem Bityutskiy <dedekind1@gmail.com>
To: "Ralf Rösch" <ralf.roesch@rw-gmbh.de>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mtd@lists.infradead.org
Subject: Re: [PATCH] txx9ndfmc: limit transfer bytes to 512 (ECC provides 6 bytes max)
Date: Wed, 05 Jan 2011 10:37:51 +0200 [thread overview]
Message-ID: <1294216671.2179.10.camel@koala> (raw)
In-Reply-To: <4D1C5123.4050804@rw-gmbh.de>
On Thu, 2010-12-30 at 10:30 +0100, Ralf Rösch wrote:
> See commit: c0cbfd0e81d879a950ba6f0df3f75ea30c5ab16e
> Using __nand_correct_data() helper function, this driver can read 512
> byte (with 6 byte ECC) at a time.
>
> This is correct, but not more:
> With NAND chips providing page sizes > 512 Bytes
> chip->ecc.bytes are calculated > 6 in txx9ndfmc_nand_scan.
> According the data sheet there are (only) 6 bytes ECC available.
>
> After applying the patch a Hynix 512M*8 with 2k page size could be
> successfully formatted and used with an ubifs file system.
>
> Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
prev parent reply other threads:[~2011-01-05 8:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 9:30 [PATCH] txx9ndfmc: limit transfer bytes to 512 (ECC provides 6 bytes max) Ralf Rösch
2011-01-04 5:13 ` Atsushi Nemoto
2011-01-05 8:37 ` Artem Bityutskiy [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=1294216671.2179.10.camel@koala \
--to=dedekind1@gmail.com \
--cc=anemo@mba.ocn.ne.jp \
--cc=linux-mtd@lists.infradead.org \
--cc=ralf.roesch@rw-gmbh.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;
as well as URLs for NNTP newsgroup(s).