Files
kernel_arpi/include/linux
Miquel Raynal 3316c8e3ad mtd: nand: Create helpers to set/extract the ECC requirements
Despite its current name, the eccreq field actually encodes both the
NAND requirements and the final ECC configuration. That works fine when
using on-die ECC since those 2 concepts match perfectly, but it starts
being a problem as soon as we use on-host ECC engines, where we're not
guaranteed to have a perfect match.

Let's hide the ECC requirements access behind helpers so we can later
split those 2 concepts. As the structures have not been clarified yet,
these helpers access the same internal variable as
nanddev_get_ecc_conf() for now.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200827085208.16276-14-miquel.raynal@bootlin.com
2020-09-28 15:59:48 +02:00
..
2020-08-03 18:19:23 -07:00
2020-08-14 19:56:56 -07:00
2020-08-04 21:02:38 -04:00
2020-07-31 18:08:59 +10:00
2020-08-07 11:33:24 -07:00
2020-08-01 11:28:17 +02:00