Brian Norris
666b65683d
mtd: brcmnand: respect ECC algorithm set by NAND subsystem
...
This is more obvious than guessing based on ECC strength. It allows
using NAND on devices with BCH-1 (e.g. D-Link DIR-885L).
This maintains DT backward compatibility by defaulting to Hamming if a
1-bit ECC algorithm is specified without a corresponding algorithm
selection. i.e., to use BCH-1, you must specify:
nand-ecc-strength = <1>;
nand-ecc-step-size = <512>;
nand-ecc-algo = "bch";
Also adds a check to ensure we haven't allowed someone to get by with SW
ECC. If we want to support SW ECC, we need to refactor some other pieces
of this driver.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2016-05-05 23:55:15 +02:00
..
chips
mtd: cfi_cmdset_0001: fixing memory leak and handling failed kmalloc
2016-01-06 17:23:10 -08:00
devices
mtd: docg3: switch to mtd_ooblayout_ops
2016-04-19 22:05:56 +02:00
lpddr
mtd: lpddr: show parent device in sysfs
2015-10-13 09:21:17 -07:00
maps
MTD updates for v4.5:
2016-01-13 11:25:54 -08:00
nand
mtd: brcmnand: respect ECC algorithm set by NAND subsystem
2016-05-05 23:55:15 +02:00
onenand
mtd: onenand: switch to mtd_ooblayout_ops
2016-05-05 23:51:49 +02:00
spi-nor
mtd: spi-nor: support lock/unlock for a few Winbond chips
2016-03-07 18:01:58 -08:00
tests
MTD updates for v4.6
2016-03-24 19:57:15 -07:00
ubi
mtd: ubi: Add logging functions ubi_msg, ubi_warn and ubi_err
2016-03-20 21:36:05 +01:00
afs.c
mtd: partitions: make parsers return 'const' partition arrays
2015-12-09 10:21:57 -08:00
ar7part.c
mtd: partitions: make parsers return 'const' partition arrays
2015-12-09 10:21:57 -08:00
bcm47xxpart.c
mtd: bcm47xxpart: don't fail because of bit-flips
2016-01-23 14:40:47 -08:00
bcm63xxpart.c
mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'
2016-03-07 13:13:58 -08:00
cmdlinepart.c
mtd: partitions: make parsers return 'const' partition arrays
2015-12-09 10:21:57 -08:00
ftl.c
mtd: ftl: use swap() in copy_erase_unit()
2015-12-18 16:56:07 -08:00
inftlcore.c
inftlmount.c
Kconfig
mtd: bcm63xxpart: Remove dependency on mach-bcm63xx
2016-02-12 10:27:48 -08:00
Makefile
mtd_blkdevs.c
mtd: blkdevs: fix potential deadlock + lockdep warnings
2015-10-30 17:24:43 -07:00
mtdblock.c
mtdblock_ro.c
mtdchar.c
mtd: kill the nand_ecclayout struct
2016-05-05 23:51:51 +02:00
mtdconcat.c
mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition
2016-04-19 22:05:55 +02:00
mtdcore.c
mtd: kill the nand_ecclayout struct
2016-05-05 23:51:51 +02:00
mtdcore.h
mtd: partitions: support a cleanup callback for parsers
2015-12-09 14:57:44 -08:00
mtdoops.c
mtdpart.c
mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition
2016-04-19 22:05:55 +02:00
mtdsuper.c
mtdswap.c
mtd: mtdswap: remove useless if (!mtd->ecclayout) test
2016-03-07 16:23:09 -08:00
nftlcore.c
nftlmount.c
ofpart.c
mtd: partitions: make parsers return 'const' partition arrays
2015-12-09 10:21:57 -08:00
redboot.c
mtd: partitions: make parsers return 'const' partition arrays
2015-12-09 10:21:57 -08:00
rfd_ftl.c
sm_ftl.c
mtd: sm_ftl: fix wrong do_div() usage
2015-11-16 15:07:16 -08:00
sm_ftl.h
ssfdc.c