public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC
@ 2009-04-26 18:11 David Brownell
  2009-04-26 22:40 ` Jean-Christophe PLAGNIOL-VILLARD
  2009-05-04  0:39 ` Stephen Irons
  0 siblings, 2 replies; 12+ messages in thread
From: David Brownell @ 2009-04-26 18:11 UTC (permalink / raw)
  To: u-boot

I was looking at the DaVinci NAND support in current U-Boot
code (i.e. 2009.03 plus patches merged since that release),
and am puzzled by the above-named config option.

Before I submit a patch to remove it from U-Boot GIT (nothing
there enables it, and it will nastify 4-bit support), I thought
I'd see if anyone knows exactly what software it was trying to
emulate.  Differences from the current NAND driver in GIT:

 - Matches MVL 4.0 (2.6.10) and 5.0 (2.6.18) drivers in handling
   NANDx1ECC registers:  0PQR0stu maps to PsQRtu, while the NAND
   driver in mainline maps it to ~PQRstu.

 - Custom ECC layouts, "not compatible with Linux or RBL/UBL".

 - Does some very broken stuff for large page support.

The first of those I can understand; someone wrote some odd and
overly-complex ECC code way back, it worked and then got shipped.
(Although TI's U-Boot 1.2.0 uses soft ECC, instead...)

The other two look like they were experimental code that
should probably not have been merged anywhere...

- Dave

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-05-04  2:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 18:11 [U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC David Brownell
2009-04-26 22:40 ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-26 22:51   ` Wolfgang Denk
2009-04-26 22:57     ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-26 23:56       ` David Brownell
2009-04-27  2:08         ` Hugo Villeneuve
2009-04-27 18:56     ` Scott Wood
2009-04-27 19:46       ` David Brownell
2009-04-27 20:11         ` Scott Wood
2009-04-27 21:16           ` David Brownell
2009-05-04  0:39 ` Stephen Irons
2009-05-04  2:44   ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox