commit | 0b2e5bbe6a4f3d25522675198b8beb0093a2e750 | [log] [tgz] |
---|---|---|
author | Andreas Fenkart <afenkart@gmail.com> | Sat Apr 08 11:59:34 2017 +0200 |
committer | Jagan Teki <jagan@openedev.com> | Wed May 03 11:18:20 2017 +0530 |
tree | 468e8a8016ef82a14e2cf55da53a67049648ad49 | |
parent | c041c60c6c5c1eafcff21eec76e16ee958a7506e [diff] |
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>