Hi, this patch series updates the fsl_elbc rawnand driver to work on CZ.NIC's Turris 1.x, where the NAND chip's HW ECC is incompatible with the HW ECC of the controller. Software ECC must be used, but the fsl_elbc driver does not support it correctly, at least not for Turris. The first patch only moves the attach_chip method only after the _read_page and friends are defined, so that the third patch can reference these methods in attach_chip. The second patch adds RNDOUT command. The third patch moves the code which sets ECC parameters from init_chip to attach_chip because we want to consider device-tree settings (if SW ECC was chosen in device-tree). Marek Marek Behún (3): mtd: rawnand: fsl_elbc: Cosmetic move mtd: rawnand: fsl_elbc: Implement RNDOUT command mtd: rawnand: fsl_elbc: Make SW ECC work drivers/mtd/nand/raw/fsl_elbc_nand.c | 201 +++++++++++++++------------ 1 file changed, 113 insertions(+), 88 deletions(-) -- 2.19.2 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/