diff options
author | allen yan <yanwei@marvell.com> | 2017-06-21 17:02:20 +0800 |
---|---|---|
committer | Konstantin Porotchkin <kostap@marvell.com> | 2017-08-22 11:18:11 +0300 |
commit | d75cb6149a0fc905690b8845343e3732b1c06d24 (patch) | |
tree | 5afa748930b01164072f77c40c5b2ccb56273257 /Makefile | |
parent | 8ca67ef6e94db728775ca79249a1513b92a15483 (diff) |
fix: makefile: a3700: pad boot-image.bin for 4-bytes alignment
- In eMMC download mode, the ROM checks if the size and address
are aligned to 4 byte. If not aligned, it will report
SDMMC_ADDR_MISALIGN_ERROR.
- This patch align the boot-image.bin size to 4 bytes.
Change-Id: I97f390c78797ca403f0353bdd9c99625ab412eb3
Signed-off-by: allen yan <yanwei@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/40661
Reviewed-by: Wilson Ding <dingwei@marvell.com>
Tested-by: Wilson Ding <dingwei@marvell.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -785,6 +785,7 @@ ifeq ($(PLAT),a3700) 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}) @echo @echo "Building uart images" $(TIMBUILD) $(TIMBLDUARTARGS) |