summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinghua <jinghua@marvell.com>2018-03-22 19:49:08 +0800
committerKostya Porotchkin <kostap@marvell.com>2018-03-28 10:04:19 +0300
commit59bfb58cff3d8433449ef05c0af66b4abf7ea11f (patch)
tree90105a6ef1e6043bd50223cd39dbfa12ae99c1f9
parentd173258d9d8cfe2ff689f3d6cb27c62d4c9890c7 (diff)
fix: Makefile: a3700: align wtmi image with 4 bytes
To boot from eMMC, there is a limitation that each firmware component size has to be aligned with 4 bytes. Since u-boot image has already been aligned, this patch does it for WTMI image. Change-Id: Ie8f4517d5f04baedc7bca2bd230c5ce2f73b3e3a Signed-off-by: jinghua <jinghua@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/52417 Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com> (cherry picked from commit 1eed2fc33ab121f2792c8829f5dd96796a4a0a7e) Reviewed-on: http://vgitil04.il.marvell.com:8080/52685
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 68e5003f..30b818d1 100644
--- a/Makefile
+++ b/Makefile
@@ -810,6 +810,7 @@ fip: ${BUILD_PLAT}/${FIP_NAME} ${DOIMAGETOOL}
$(shell truncate -s %128K ${BUILD_PLAT}/bl1.bin)
$(shell cat ${BUILD_PLAT}/bl1.bin ${BUILD_PLAT}/${FIP_NAME} > ${BUILD_PLAT}/${BOOT_IMAGE})
$(shell truncate -s %4 ${BUILD_PLAT}/${BOOT_IMAGE})
+ $(shell truncate -s %4 $(WTMI_IMG))
@echo
@echo "Building uart images"
$(TIMBUILD) $(TIMBLDUARTARGS)