rk: scripts/mkimg: Pass '-B 0x200' to mkimage if supported
Pass '-B 0x200' to mkimage to align the FIT structure and data to 512 byte. Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I56286064e8db62e4ae236e15a3de6827a577f506
This commit is contained in:
parent
5f1c322d3b
commit
698e99a4a2
1 changed files with 3 additions and 0 deletions
|
|
@ -119,6 +119,9 @@ check_mkimage()
|
|||
echo '"mkimage" command not found - U-Boot images will not be built' >&2
|
||||
exit 1;
|
||||
fi
|
||||
if ${MKIMAGE} 2>&1 | grep -q "\[-B size\]"; then
|
||||
MKIMAGE_ARG="-B 0x200 ${MKIMAGE_ARG}"
|
||||
fi
|
||||
}
|
||||
|
||||
unpack_itb()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue