summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorRafał Miłecki <[email protected]>2026-02-21 11:00:06 +0100
committerTom Rini <[email protected]>2026-03-06 10:32:41 -0600
commit1197954d5896f431716a61b4242c98c336753948 (patch)
treee3db4d307a79c7c36a70c80adc270b1133622ad1 /scripts/cleanpatch
parent47dabe3b96ea8f79edf574a0e141a156b227455c (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