diff options
author | allen yan <yanwei@marvell.com> | 2017-06-21 17:02:20 +0800 |
---|---|---|
committer | Wilson Ding <dingwei@marvell.com> | 2017-06-26 05:14:23 +0300 |
commit | 609cd80091408f474b81116432c5c323cb06ae79 (patch) | |
tree | 854f851abf9ffb3064f421e5a61f6f0d118fbffb | |
parent | ccd1962fc828004c83c063fe3c665af6a6c94980 (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>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -825,6 +825,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) |