[PATCH 20/39] mtd: nand: denali_dt: enable HW_ECC_FIXUP capability for DT platform

Masahiro Yamada yamada.masahiro at socionext.com
Tue Nov 29 22:14:31 PST 2016


Hi Boris,

2016-11-28 1:14 GMT+09:00 Boris Brezillon <boris.brezillon at free-electrons.com>:
> On Sun, 27 Nov 2016 03:06:06 +0900
> Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
>
>> The denali_dt.c was split out by Altera for the SOCFPGA port.  The
>> Denali IP on SOCFPGA incorporates the hardware ECC fixup feature.
>> Newer versions are very likely to support it.  So, it should be OK
>> to set DENALI_CAPS_HW_ECC_FIXUP for all DT platforms.
>
> Seems like a bad idea. What's the problem with setting this flag in the
> data->caps definition of each revision?

No problem.

I will follow your suggestion in v2.


-- 
Best Regards
Masahiro Yamada



More information about the linux-mtd mailing list