diff options
author | Gregory CLEMENT | 2019-04-17 11:22:05 +0200 |
---|---|---|
committer | Tom Rini | 2019-04-26 18:58:20 -0400 |
commit | 5f626e78491c95dbf3e5036cc0c67aea8b1746fd (patch) | |
tree | 5e2ae4d05fc4363a5c9dee1aae4e7cc5c4b6abf3 /drivers/net | |
parent | e9cde87ec1eaba3b5233093aec8f4f6c256b3a54 (diff) |
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>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions