From: Tom Rini Date: Sat, 27 Apr 2019 10:46:50 -0400 Subject: [U-Boot] [U-Boot, v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior In-Reply-To: <20190417092205.20508-1-gregory.clement@bootlin.com> References: <20190417092205.20508-1-gregory.clement@bootlin.com> Message-ID: <20190427144650.GQ31207@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 17, 2019 at 11:22:05AM +0200, Gregory CLEMENT wrote: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and > disabled the default layout when it was _not_ selected. > > It breaks all the NAND drivers not providing their own ECC layout this > patch fix this situation. > > It was tested with the lpc32xx_nand_slc driver. > > Fixes: a38c3af868 ("mtd: nand: raw: allow to disable unneeded ECC layouts") > Reviewed-by: Miquel Raynal > Signed-off-by: Gregory CLEMENT > Tested-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: