Searched hist:"0 cc120e37a4ae1d3d1bc4e8f0d7c9a476635608f" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | nand_base.c | 0cc120e37a4ae1d3d1bc4e8f0d7c9a476635608f Wed Apr 17 09:22:05 UTC 2019 Gregory CLEMENT <gregory.clement@bootlin.com> UPSTREAM: mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior
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 <miquel.raynal@bootlin.com> Change-Id: I5bb978707782b690533152aaf71f34e10387fc6d Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Tested-by: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 5f626e78491c95dbf3e5036cc0c67aea8b1746fd)
|