Re: [PATCH 1/2] MTD: s3c2410_nand: Add option to disable hw ECC atruntime

From: Lars-Peter Clausen
Date: Thu Apr 14 2011 - 10:48:24 EST


On 04/14/2011 02:08 PM, Artem Bityutskiy wrote:
> On Tue, 2011-04-12 at 21:47 +0200, Lars-Peter Clausen wrote:
>> From: Holger Freyther <zecke@xxxxxxxxxxxx>
>>
>> This patch adds a flag to the s3c2410_nand platform data, which configures
>> whether hardware ECC is used.
>>
>> Currently it is only possible to decide whether hw ECC should be used or not at
>> compile time through a config option. But if you want to build a kernel which
>> runs on multiple devices you might have a configuration where some devices
>> require hw ECC and some devices which want software ECC.
>>
>> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
>
> Extending platform data is kind of vetoed in arm tree, I do not think
> the MTD tree can take these changes.
>
That is not my understanding of the situation. But what do you suggest as an
alternative for fixing this issue?

- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/