Re: [PATCH] mtd: rawnand: fsl_elbc: Fix detection when nand_scan_ident() has not selected ecc.mode

2022-06-20 Thread Pali Rohár
On Monday 20 June 2022 15:08:43 Peng Fan (OSS) wrote: > 在 2022/5/12 2:24, Pali Rohár 写道: > > 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

Re: [PATCH] mtd: rawnand: fsl_elbc: Fix detection when nand_scan_ident() has not selected ecc.mode

2022-06-20 Thread Peng Fan (OSS)
在 2022/5/12 2:24, Pali Rohár 写道: 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

[PATCH] mtd: rawnand: fsl_elbc: Fix detection when nand_scan_ident() has not selected ecc.mode

2022-05-11 Thread Pali Rohár
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.