]> git.sur5r.net Git - u-boot/commit
env_sf: use DIV_ROUND_UP to calculate number of sectors to erase
authorAndreas Fenkart <afenkart@gmail.com>
Sat, 8 Apr 2017 09:59:34 +0000 (11:59 +0200)
committerJagan Teki <jagan@openedev.com>
Wed, 3 May 2017 05:48:20 +0000 (11:18 +0530)
commit0b2e5bbe6a4f3d25522675198b8beb0093a2e750
tree468e8a8016ef82a14e2cf55da53a67049648ad49
parentc041c60c6c5c1eafcff21eec76e16ee958a7506e
env_sf: use DIV_ROUND_UP to calculate number of sectors to erase

simpler to read

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
common/env_sf.c