[PATCH v3 27/33] mtd: rawnand: sm_common: convert driver to nand_scan_with_ids()

2018-07-19 Thread Miquel Raynal
Two helpers have been added to the core to make ECC-related configuration between the detection phase and the final NAND scan. Use these hooks and convert the driver to just use nand_scan_with_ids() (alternative to nand_scan() for passing a flash IDs table) instead of both nand_scan_ident() and

[PATCH v3 27/33] mtd: rawnand: sm_common: convert driver to nand_scan_with_ids()

2018-07-19 Thread Miquel Raynal
Two helpers have been added to the core to make ECC-related configuration between the detection phase and the final NAND scan. Use these hooks and convert the driver to just use nand_scan_with_ids() (alternative to nand_scan() for passing a flash IDs table) instead of both nand_scan_ident() and