diff options
| author | Miquel Raynal (DAVE) <miquel.raynal@bootlin.com> | 2026-05-29 18:29:56 +0200 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-06-29 16:47:22 +0200 |
| commit | ee60be8929c7badf1194e3149a8aef930cfd77b8 (patch) | |
| tree | 83d55aeb32500492c854e9c660fc8a1e053b0bff /tools | |
| parent | a8374683868634012ac873d628fa581fcc452e9c (diff) | |
| download | linux-ee60be8929c7badf1194e3149a8aef930cfd77b8.tar.gz linux-ee60be8929c7badf1194e3149a8aef930cfd77b8.zip | |
mtd: rawnand: pl353: Update timings at the right moment
If several CE are wired, we would write the registers for every chip one
after the other, and reselect the correct timings for the first chip the
use wants to use after probe. This is not exactly efficient and could
slightly be improved since we already have a helper that applies the
configuration if there is a chip change. Instead of programming the
registers in ->setup_interface(), let's just drop the pointer to the
chip and let the nand_select_target() helper do its magic.
Cc: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Miquel Raynal (DAVE) <miquel.raynal@bootlin.com>
Acked-by: Olivier Sobrie <olivier@sobrie.be>
Tested-by: Olivier Sobrie <olivier@sobrie.be>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
