From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shengzhou Liu Date: Mon, 23 May 2016 09:18:17 +0000 Subject: [U-Boot] [PATCH] driver/ddr/fsl: Force enabling parity for A-009803 In-Reply-To: <573F2D49.9050102@nxp.com> References: <1463731546-15232-1-git-send-email-Shengzhou.Liu@nxp.com> <573F2D49.9050102@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----Original Message----- > From: York Sun [mailto:york.sun at nxp.com] > Sent: Friday, May 20, 2016 11:29 PM > To: Shengzhou Liu ; 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