[U-Boot] [PATCH 2/3] SPEAr: Configure FSMC driver for NAND interface

Scott Wood scottwood at freescale.com
Fri Mar 2 18:19:24 CET 2012

On 03/02/2012 07:44 AM, Stefan Roese wrote:
> Hi Scott,
> On Wednesday 29 February 2012 19:03:20 Scott Wood wrote:
>>>>> You also need the following define for this to work with the latest
>>>>> NAND subsystem:
>>>>> #define CONFIG_MTD_ECC_SOFT
>>>>> Not sure about SPEAr3xx. Most likely this needs it as well.
>>>> This is going to be reverted for now -- I meant to leave it out of the
>>>> last patchset because of the need to update all boards (which the patch
>>>> did not do).
>>> Sorry, I didn't get you. Could you please elaborate?
>> It was intended to reduce U-Boot code size in cases where soft ECC is
>> not needed.  However, the patch that introduced it did not update the
>> boards to select it when necessary, so it is being reverted for now.
> Okay, but it does not "hurt" to add this define to platforms using soft ECC 
> right now, when such NAND driver related config options are updated? Or would 
> you advise to remove it for now?

It doesn't hurt, other than that you're defining an undocumented option,
assuming someone actually does put the effort into identifying the
affected boards soon (or implementing some sort of transition
mechanism), so that it doesn't just sit around forever without being used.


More information about the U-Boot mailing list