projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e002ee7
)
tools: imx8mimage: remove redundant code
author
Kever Yang
<kever.yang@rock-chips.com>
Mon, 30 Mar 2020 03:56:21 +0000
(11:56 +0800)
committer
Tom Rini
<trini@konsulko.com>
Fri, 24 Apr 2020 14:10:00 +0000
(10:10 -0400)
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>
tools/imx8mimage.c
patch
|
blob
|
history
diff --git
a/tools/imx8mimage.c
b/tools/imx8mimage.c
index 7defb13962f87680fd78f01010328dc0f180d803..bc4ee793cb9758040c866636f5339f9dcfa65b68 100644
(file)
--- 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);