u-boot/include/linux/mtd
Boris Brezillon 19d30ded88 mtd: nand: Add an option to maximize the ECC strength
The generic NAND DT bindings allows one to tweak the ECC strength and
step size to their need. It can be used to lower the ECC strength to
match a bootloader/firmware config, but might also be used to get a better
reliability.

In the latter case, the user might want to use the maximum ECC strength
without having to explicitly calculate the exact value (this value not
only depends on the OOB size, but also on the NAND controller, and can
be tricky to extract).

Add a generic 'nand-ecc-maximize' DT property and the associated
NAND_ECC_MAXIMIZE flag, to let ECC controller drivers select the best
ECC strength and step-size on their own.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
[Linux commit: ba78ee00e1ff84de9b3ad33edbd3ec599099ee82]
[masahiro: of_property_read_bool -> fdt_getprop for U-Boot]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-29 00:28:57 +09:00
..
bbm.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
concat.h include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
doc2000.h include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
flashchip.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
fsl_upm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsmc_nand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mtd.h mtd: remove MTDDEBUG() and CONFIG_MTD_DEBUG 2017-10-23 14:07:26 -04:00
nand.h mtd: nand: Add an option to maximize the ECC strength 2017-11-29 00:28:57 +09:00
nand_bch.h mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_ecc.h include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
ndfc.h Add support for AMCC Sequoia PPC440EPx eval board 2006-09-07 11:51:23 +02:00
omap_elm.h mtd: nand: omap_elm: use macros for register definitions 2014-06-06 17:45:50 -04:00
omap_gpmc.h armv7: armv7: introduce set_gpmc_cs0 2016-07-22 14:46:11 -04:00
onenand.h linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
onenand_regs.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
partitions.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
samsung_onenand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
st_smi.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ubi.h ubi,ubifs: sync with linux v4.2 2015-10-26 09:22:36 +01:00