* ECC for Samsung nand flash
@ 2004-03-30 5:02 William J. Beksi
2004-03-30 5:22 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: William J. Beksi @ 2004-03-30 5:02 UTC (permalink / raw)
To: linux-mtd
Has anyone implemented an ECC algorithm for Samsung nand flash devices?
The nand_ecc.c in the cvs seems to be specific for Toshiba devices.
thank you
-Bill
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ECC for Samsung nand flash
2004-03-30 5:02 ECC for Samsung nand flash William J. Beksi
@ 2004-03-30 5:22 ` Thomas Gleixner
2004-03-30 6:35 ` Charles Manning
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2004-03-30 5:22 UTC (permalink / raw)
To: William J. Beksi, linux-mtd
On Tuesday 30 March 2004 07:02, William J. Beksi wrote:
> Has anyone implemented an ECC algorithm for Samsung nand flash devices?
> The nand_ecc.c in the cvs seems to be specific for Toshiba devices.
He ? What is specific ?
ECC is a checksum algorithm for error detection and correction and is nowhere
specific for Toshiba.
--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ECC for Samsung nand flash
2004-03-30 5:22 ` Thomas Gleixner
@ 2004-03-30 6:35 ` Charles Manning
0 siblings, 0 replies; 3+ messages in thread
From: Charles Manning @ 2004-03-30 6:35 UTC (permalink / raw)
To: tglx, William J. Beksi, linux-mtd
On Tuesday 30 March 2004 17:22, Thomas Gleixner wrote:
> On Tuesday 30 March 2004 07:02, William J. Beksi wrote:
> > Has anyone implemented an ECC algorithm for Samsung nand flash devices?
> > The nand_ecc.c in the cvs seems to be specific for Toshiba devices.
>
> He ? What is specific ?
> ECC is a checksum algorithm for error detection and correction and is
> nowhere specific for Toshiba.
nand_ecc.c in mtd and yaffs_ecc.c in YAFFS implement exactly the same
algorithm which is that specified by SmartMedia. Although nand_ecc.c was
written by SJHill (then at Toshiba), the algorithm is identical to that in
the application notes at Samsung.
The only differences between nand_ecc.c and yaffs_ecc.c are:
*yaffs_ecc.c is slightly faster (~15% - CPU dependent)
* yaffs_ecc.c provides two byte orders for storing the ECC.
At the end of the day, the ECC code is a software device and is in no way
linked to the hardware. ie. the nand chip just blindly stores bytes.
-- Charles
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-30 6:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-30 5:02 ECC for Samsung nand flash William J. Beksi
2004-03-30 5:22 ` Thomas Gleixner
2004-03-30 6:35 ` Charles Manning
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox