projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1543606
)
tools:mkimage_multidtb: Align less than PAD size
author
Inha Song
<ideal.song@samsung.com>
Wed, 5 Aug 2015 05:05:03 +0000
(14:05 +0900)
committer
Przemyslaw Marczak
<p.marczak@samsung.com>
Fri, 4 Dec 2015 15:31:06 +0000
(16:31 +0100)
This patch fix align error in mkimage_multidtb tools.
if DTB size is aigned to $PAD, $PAD_CNT should be zero not $PAD.
Change-Id: I2bf8343dae9b2bb71a70abf1df61bd215c2996f8
Signed-off-by: Inha Song <ideal.song@samsung.com>
tools/mkimage_multidtb.sh
patch
|
blob
|
history
diff --git
a/tools/mkimage_multidtb.sh
b/tools/mkimage_multidtb.sh
index 0405fd68042f321d342bd6d171376594a1304d19..fc107acab00685fc319858fe1e0fd124fcf3c7d3 100755
(executable)
--- a/
tools/mkimage_multidtb.sh
+++ b/
tools/mkimage_multidtb.sh
@@
-59,7
+59,7
@@
for I in ${DTB[*]}; do
touch padding
if [ $CNT -lt $(($DTB_CNT)) ]; then
- PAD_CNT=$(($
PAD - $(($SIZE % $PAD))
))
+ PAD_CNT=$(($
(($PAD - $(($SIZE % $PAD)))) % $PAD
))
if [ $PAD_CNT -ge 0 ]; then
echo -en " | PAD: $PAD_CNT B |"
rm padding