[U-Boot] [PATCH v2 4/4] env_sf: use DIV_ROUND_UP to calculate number of sectors to erase

Simon Glass sjg at chromium.org
Sun Apr 9 19:28:41 UTC 2017


On 8 April 2017 at 03:59, Andreas Fenkart <afenkart at gmail.com> wrote:
> simpler to read
>
> Signed-off-by: Andreas Fenkart <afenkart at gmail.com>
> ---
>  common/env_sf.c | 18 +++++-------------
>  1 file changed, 5 insertions(+), 13 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list