Files
u-boot/drivers
Miquel Raynal f3aff37689 mtd: nand: sunxi: fix ECC strength choice
When the requested ECC strength does not exactly match the strengths
supported by the ECC engine, the driver is selecting the closest
strength meeting the 'selected_strength > requested_strength'
constraint. Fix the fact that, in this particular case, ecc->strength
value was not updated to match the 'selected_strength'.

For instance, one can encounter this issue when no ECC requirement is
filled in the device tree while the NAND chip minimum requirement is not
a strength/step_size combo natively supported by the ECC engine.

Suggested-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-03 12:10:46 +02:00
..
2018-02-13 23:24:22 -05:00
2018-01-26 12:38:13 +01:00
2018-02-18 15:53:48 -07:00
2018-02-21 20:28:15 +01:00
2018-03-09 09:23:10 -05:00
2018-03-09 09:23:10 -05:00
2018-03-14 13:27:14 -04:00
2018-03-13 22:36:33 +05:30
2018-03-05 20:24:17 -05:00
2018-03-13 18:12:35 +01:00
2018-01-26 12:38:13 +01:00
2018-02-04 12:00:58 +01:00
2018-03-15 08:27:27 -04:00
2018-03-09 09:23:10 -05:00
2018-03-05 20:24:17 -05:00