tool: use ALIGN() to align the size
authorKever Yang <kever.yang@rock-chips.com>
Mon, 30 Mar 2020 03:56:22 +0000 (11:56 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:10:00 +0000 (10:10 -0400)
commit02560b13689650cf0d2f5825eaf480629ce9238f
treeb52072cf7e72c08a35f974df85ba42f4c7b8c958
parente5ad99cc9924e374d9cedbec38b6303cb80d693f
tool: use ALIGN() to align the size

Use the ALIGN() for size align so that the code is more readable.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
tools/fit_image.c
tools/socfpgaimage.c