[U-Boot] [PATCH v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior
Eugen.Hristev at microchip.com
Eugen.Hristev at microchip.com
Wed Apr 17 09:36:16 UTC 2019
On 17.04.2019 12:22, 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 <miquel.raynal at bootlin.com>
> Signed-off-by: Gregory CLEMENT <gregory.clement at bootlin.com>
> ---
Tested on sama5d3_xplained:
Tested-by: Eugen Hristev <eugen.hristev at microchip.com>
This fixes the issue which we found on this board:
NAND: BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()!
More information about the U-Boot
mailing list