On Thu, 28 May 2020 13:31:11 +0200 Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > Embed a generic NAND ECC high-level object in the nand_device > structure to carry all the ECC engine configuration/data. Adapt the > raw NAND and SPI-NAND cores to fit the change. I would also split that one: 1/ s/nand_ecc_props/nand_ecc/ in the core + change the spi nand framework accordingly 2/ update rawnand to use the generic layer