public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Vladimir Barinov <vova.barinov@gmail.com>,
	mathieu.berland@eads.com, linux-mtd@lists.infradead.org,
	Eric Benard <ebenard@eukrea.com>
Subject: Re: About the mxc nand driver
Date: Tue, 20 Oct 2009 15:28:54 +0200	[thread overview]
Message-ID: <200910201528.55271.jbe@pengutronix.de> (raw)
In-Reply-To: <20091020131157.GR8818@pengutronix.de>

On Dienstag, 20. Oktober 2009, Sascha Hauer wrote:
> [...]
> The original Freescale driver uses this ecc layout for 8/16 bit busses:
>
> static struct nand_ecclayout nand_hw_eccoob_8 = {
> 	.eccbytes = 5,
> 	.eccpos = {6, 7, 8, 9, 10},
> 	.oobfree = {{0, 5}, {11, 5}}
> };

This one is bogus, as it describes an 8 byte OOB with more than 8 bytes... In 
the current driver this layout is used for soft ECC. Maybe this is the 
reason, why there wasn't any failure messages, because all people are using 
hardware ECC.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

  reply	other threads:[~2009-10-20 13:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 13:11 About the mxc nand driver Sascha Hauer
2009-10-20 13:28 ` Juergen Beisert [this message]
2009-10-20 13:32   ` Sascha Hauer
2009-10-21 11:30 ` Gianluca Renzi
2009-10-22 10:26   ` Juergen Beisert
2009-10-22 21:17     ` alfred steele
2009-10-23  8:19       ` Juergen Beisert
     [not found] <2132956280B09448AB947D9C8A291AC6011F88BE@SMFIDF806A.main.fr.ds.corp>
2009-10-20 17:08 ` Juergen Beisert

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=200910201528.55271.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ebenard@eukrea.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mathieu.berland@eads.com \
    --cc=s.hauer@pengutronix.de \
    --cc=vova.barinov@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox