diff options
| author | Rafał Miłecki <[email protected]> | 2026-02-21 11:00:06 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-06 10:32:41 -0600 |
| commit | 1197954d5896f431716a61b4242c98c336753948 (patch) | |
| tree | e3db4d307a79c7c36a70c80adc270b1133622ad1 /scripts/cleanpatch | |
| parent | 47dabe3b96ea8f79edf574a0e141a156b227455c (diff) | |
fw_env: use "erasesize" variable in writing loop
Use "erasesize" instead of "blocklen" in flash_write_buf()'s loop. This
change touches code executed for bad NAND blocks so it doesn't affect
any behaviour (for NAND flashes "blocklen" and "erasesize" are equal).
This just makes code a bit more consistent as "erasesize" is what is
used all around inside the writing loop.
Signed-off-by: Rafał Miłecki <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
