diff options
| author | Marek BehĂșn <marek.behun@nic.cz> | 2019-03-22 16:26:19 +0300 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-18 09:54:02 +0300 |
| commit | f6424c22aa3673a0313a306be339495c67c41891 (patch) | |
| tree | 1f9c7bcdcd26b01f4a4e7b0cb0a16794f8529f8c /tools/perf/scripts/python/compaction-times.py | |
| parent | 070fb9744d5b7f893da263149a4f3245bb618bdf (diff) | |
| download | linux-f6424c22aa3673a0313a306be339495c67c41891.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
