diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2020-03-30 11:56:21 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 10:10:00 -0400 |
commit | e5ad99cc9924e374d9cedbec38b6303cb80d693f (patch) | |
tree | f7eba15f603ddfe3c10d2444c9aa06551b006f10 /tools | |
parent | e002ee7efc4a236f239aed54f89da913105ac6d5 (diff) | |
download | u-boot-e5ad99cc9924e374d9cedbec38b6303cb80d693f.zip u-boot-e5ad99cc9924e374d9cedbec38b6303cb80d693f.tar.gz u-boot-e5ad99cc9924e374d9cedbec38b6303cb80d693f.tar.bz2 |
tools: imx8mimage: remove redundant code
The align for fit_size has been done twice, remove the first one for it
does not make any sense.
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/imx8mimage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c index 7defb13..bc4ee79 100644 --- a/tools/imx8mimage.c +++ b/tools/imx8mimage.c @@ -341,7 +341,6 @@ static int generate_ivt_for_fit(int fd, int fit_offset, uint32_t ep, } fit_size = fdt_totalsize(&image_header); - fit_size = (fit_size + 3) & ~3; fit_size = ALIGN(fit_size, ALIGN_SIZE); |