u-boot/drivers/mtd/nand/raw
Gregory CLEMENT 5f626e7849 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>
2019-04-26 18:58:20 -04:00
..
brcmnand drivers: nand: brcmnand: add an option to read the write-protect from device tree 2019-04-22 11:55:58 -04:00
am335x_spl_bch.c
arasan_nfc.c mtd: nand: arasan_nfc: Add support for nand multi chip select 2019-01-24 10:03:42 +01:00
atmel_nand.c nand: atmel: Initialize pmecc smu with correct size 2018-10-22 09:18:49 -04:00
atmel_nand_ecc.h
davinci_nand.c
denali.c mtd: rawnand: denali: fix a race condition when DMA is kicked 2018-12-29 11:38:37 +09:00
denali.h mtd: rawnand: denali: add reset handling 2019-04-17 22:20:16 +02:00
denali_dt.c mtd: rawnand: denali: add reset handling 2019-04-17 22:20:16 +02:00
denali_spl.c
fsl_elbc_nand.c
fsl_elbc_spl.c
fsl_ifc_nand.c
fsl_ifc_spl.c
fsl_upm.c
fsmc_nand.c
kb9202_nand.c
Kconfig drivers: nand: brcmnand: add initial support 2019-04-22 11:55:58 -04:00
kirkwood_nand.c
kmeter1_nand.c
lpc32xx_nand_mlc.c mtd: nand: lpc32xx mlc: predefine number of NAND chips to support 2018-11-16 13:34:36 -05:00
lpc32xx_nand_slc.c mtd: nand: lpc32xx slc: disable DMA support in SPL builds 2018-11-16 13:34:37 -05:00
Makefile drivers: nand: brcmnand: add initial support 2019-04-22 11:55:58 -04:00
mxc_nand.c
mxc_nand.h
mxc_nand_spl.c
mxs_nand.c MTD: nand: mxs_nand: Allow driver to auto setup ECC in SPL 2019-02-15 12:42:13 +01:00
mxs_nand.h
mxs_nand_dt.c
mxs_nand_spl.c MTD: mxs_nand_spl: Redo the way nand_init initializes 2019-03-13 09:14:35 +01:00
nand.c
nand_base.c mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior 2019-04-26 18:58:20 -04:00
nand_bbt.c
nand_bch.c
nand_ecc.c
nand_ids.c mtd: nand: raw: Add Hynix H27UBG8T2BTR id table 2019-01-02 00:58:16 +05:30
nand_plat.c
nand_spl_load.c
nand_spl_loaders.c
nand_spl_simple.c
nand_timings.c
nand_util.c
omap_elm.c
omap_gpmc.c
pxa3xx_nand.c mtd: rawnand: pxa3xx: fix 2kiB pages with 8b strength chips layout 2018-11-22 11:38:13 +05:30
pxa3xx_nand.h
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver 2019-04-12 16:09:13 +02:00
sunxi_nand.c
sunxi_nand_spl.c
tegra_nand.c
tegra_nand.h
vf610_nfc.c nand: vybrid: Extend the vf610 NFC NAND driver to support device tree (and DM) 2019-01-01 14:12:18 +01:00
zynq_nand.c