[U-Boot] [PATCH v2 6/8] omap_gpmc: BCH8 support (ELM based)
Tom Rini
trini at ti.com
Wed Nov 21 18:04:42 CET 2012
On Thu, Nov 15, 2012 at 02:25:23PM +0100, Andreas Bießmann wrote:
> Dear Ilya Yanok,
>
> On 07.11.2012 00:06, Ilya Yanok wrote:
> > From: Mansoor Ahamed <mansoor.ahamed at ti.com>
> >
> > This patch adds support for BCH8 error correction code to omap_gpmc
> > driver. We use GPMC to generate codes/syndromes but we need ELM to find
> > error locations from given syndrome.
> >
>
> first of all, I wonder why this is so different than the kernel
> implementation for BCH. I mean the API (and content) of this and commit
> 8d602cf50d3bba864bc1438f486b626df69c87b3 mainline linux seems to differ.
> The main question coming to mind is: Is the resulting OOB layout
> compatible then?
I think this has been mostly addressed now, but for clarity:
- We do NOT want to have > 1 layout used per NAND chip unless we must
(historically we did because we had ROM that couldn't use >1bit ECC).
- We DO want to utilize the HW as this is the only easy way to get a
match with the BCH constants the ROM uses.
- There are corresponding kernel patches already posted and working
their way along.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121121/2929d2b4/attachment.pgp>
More information about the U-Boot
mailing list