mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 11:55:03 +00:00
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>
This commit is contained in:
parent
e002ee7efc
commit
e5ad99cc99
1 changed files with 0 additions and 1 deletions
|
@ -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 = fdt_totalsize(&image_header);
|
||||||
fit_size = (fit_size + 3) & ~3;
|
|
||||||
|
|
||||||
fit_size = ALIGN(fit_size, ALIGN_SIZE);
|
fit_size = ALIGN(fit_size, ALIGN_SIZE);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue