summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinghua <jinghua@marvell.com>2018-03-22 19:49:08 +0800
committerKostya Porotchkin <kostap@marvell.com>2018-03-22 15:19:22 +0200
commit1eed2fc33ab121f2792c8829f5dd96796a4a0a7e (patch)
tree835a17955b5f7272a43b59c988a90af9b804dbd0
parent43965481990fd92e9666cf9371a8cf478055ec7c (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>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b67763e..5cff24bc 100644
--- a/Makefile
+++ b/Makefile
@@ -831,6 +831,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)