[U-Boot] [PATCH] driver/ddr/fsl: Force enabling parity for A-009803

Shengzhou Liu
2016-05-23T09:18:17Z

> -----Original Message-----
> From: York Sun [mailto:york.sun at nxp.com]
> Sent: Friday, May 20, 2016 11:29 PM
> To: Shengzhou Liu <shengzhou.liu@nxp.com>; u-boot at lists.denx.de
> Subject: Re: [PATCH] driver/ddr/fsl: Force enabling parity for A-009803
> >
>
> Shengzhou,
>
> It looks backward. You should detect if the condition is right before
> applying the workaround, not by forcing the condition.
>
> York

If ERRATUM_A009803 is defined, ap_en should always be enabled whatever user configures parity=on in hwconfig.
As ERRATUM_A009803 is enabled only in arch-fsl-layerscape/config.h for LS2 SoC, I don't think we need to check anything other.
What condition do you mean?

-Shengzhou