Marek Behún f6424c22aa mtd: rawnand: fsl_elbc: Make SW ECC work
Move the code that choses ECC into _attach_chip, which is executed only
after the chip->ecc.* properties were loaded from device-tree. This way
we know which ECC method was chosen by the device-tree and can set
methods appropriately.

The chip->ecc.*page methods should be set to fsl_elbc_*page only in HW
ECC mode.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2019-04-18 08:54:02 +02:00
..
2018-12-29 12:03:17 -08:00
2019-03-04 19:23:56 -08:00
2018-10-31 08:54:16 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-11-12 11:44:13 +01:00
2018-10-16 08:09:58 -06:00
2019-03-04 18:59:37 -08:00
2019-01-07 14:06:24 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00