[PATCH 1/3] of: mtd: add helper reading "nand-ecc-algo" from DT

Rafał Miłecki zajec5 at gmail.com
Fri Feb 26 13:24:21 PST 2016


On 26 February 2016 at 17:55, Boris Brezillon
<boris.brezillon at free-electrons.com> wrote:
> On Fri, 26 Feb 2016 17:30:47 +0100
> Rafał Miłecki <zajec5 at gmail.com> wrote:
>> What about:
>> 1) Adding new nand-ecc-algo as this patch does
>> 2) Deprecating "soft_bch" value from nand-ecc-mode property
>>
>
> Sounds good to me.

I have problems understanding "soft" values which maps to the
NAND_ECC_SOFT. What exactly algorithm is that? It uses functions from
drivers/mtd/nand/nand_ecc.c but this file isn't really helpful. I was
only able to find "3-byte ECC" phase. Kconfig config MTD_NAND_ECC also
doesn't have any description. I also tried looking at
Documentation/mtd/nand_ecc.txt but still no luck.

Does this algorithm has any name?

-- 
Rafał



More information about the linux-mtd mailing list