Files
u-boot/drivers
Pali Rohár 712a172499 mtd: rawnand: fsl_elbc: Fix detection when nand_scan_ident() has not selected ecc.mode
ecc.mode is set to 0 (aliased to NAND_ECC_NONE) either when function
nand_scan_ident() has not selected ecc.mode or when it selected it to none
ecc mode.

Distinguish between these two states by checking of node property
"nand-ecc-mode" which function nand_scan_ident() uses for filling ecc.mode.

This change fixes usage of none ecc mode if it is specified in DTS file.

Fixes: c9ea9019c5 ("mtd: rawnand: fsl_elbc: Use ECC configuration from device tree")
Signed-off-by: Pali Rohár <pali@kernel.org>
2022-07-03 15:13:51 +08:00
..
2022-04-25 09:25:00 +02:00
2022-06-23 13:12:55 -04:00
2022-06-24 14:16:00 +02:00
2022-06-20 14:40:59 -04:00
2021-10-05 08:50:15 -04:00
2022-01-13 07:57:49 -05:00
2022-04-28 09:26:44 -04:00
2022-06-28 10:09:45 +03:00
2022-06-20 14:40:59 -04:00
2022-01-13 07:57:49 -05:00
2022-06-20 14:40:59 -04:00
2022-06-23 13:12:56 -04:00
2022-06-08 14:00:22 -04:00
2022-05-02 09:58:13 -04:00
2022-05-03 21:39:22 +02:00
2021-10-01 21:08:18 -04:00