]> git.ipfire.org Git - thirdparty/u-boot.git/commit
fw_env: move "erasesize" calculation up in a code
authorRafał Miłecki <rafal@milecki.pl>
Sat, 21 Feb 2026 10:00:10 +0000 (11:00 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2026 16:32:41 +0000 (10:32 -0600)
commitffd8024efcb9868b654b319b29949347e6fe92ef
treec884d5f2897782836bd78b69cb322f31f1f4b989
parent1d175b2108d7e0aa74a182ac1ebde58a4f129371
fw_env: move "erasesize" calculation up in a code

Calculate "erasesize" in the same place where other offsets and lengths
/ sizes are calculated. It makes code more consistent and will allow
further cleanups.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
tools/env/fw_env.c