[PATCH v2 1/2] mtd: nand: qpic-common: add defines for ECC_MODE values

Miquel Raynal miquel.raynal at bootlin.com
Wed Jul 2 08:57:57 PDT 2025


Hi Gabor,

On 02/07/2025 at 14:35:23 +02, Gabor Juhos <j4g8y7 at gmail.com> wrote:

> Add defines for the values of the ECC_MODE field of the NAND_DEV0_ECC_CFG
> register and change both the 'qcom-nandc' and 'spi-qpic-snand' drivers to
> use those instead of magic numbers.
>
> No functional changes. This is in preparation for adding 8 bit ECC strength
> support for the 'spi-qpic-snand' driver.
>
> Reviewed-by: Md Sadre Alam <quic_mdalam at quicinc.com>
> Signed-off-by: Gabor Juhos <j4g8y7 at gmail.com>

I hereby agree to let Marm take this patch.

Acked-by: Miquel Raynal <miquel.raynal at bootlin.com>

Thanks,
Miquèl



More information about the linux-mtd mailing list