summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Zhou <bjzhou@marvell.com>2017-05-12 18:53:24 +0800
committerWilson Ding <dingwei@marvell.com>2017-05-12 14:31:14 +0300
commit169c889ef955c766943323e36eb014bed2cb6cf3 (patch)
treebe2abed59f0f0c8ec6549bf48f6e42a47aa551a2
parenta0ec2983d055fd0b6d504c97801b3d3b1985cd31 (diff)
makefile: a3700: move opthash.txt file to build folder for trusted build
The 'opthash.txt' contains the KAK key digest, which is used by the customer to program the fuse for the trusted boot. Change-Id: I5d7e095a6b48a0c5cb8587c2a8e0063e7988ab7e Signed-off-by: zachary <zhangzg@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/39356 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Wilson Ding <dingwei@marvell.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1f9a02b3..957ed47c 100644
--- a/Makefile
+++ b/Makefile
@@ -867,7 +867,7 @@ endif
@if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then sed -i 's|$(WTMI_IMG)|$(WTMI_ENC_IMG)|1;s|$(BOOT_IMAGE)|$(BOOT_ENC_IMAGE)|1;' $(TIMNCFG); fi
$(TIM2IMG) $(TIM2IMGARGS) -o $(BUILD_PLAT)/$(FLASH_IMAGE)
@mv -t $(BUILD_PLAT) $(TIM_IMAGE) $(DOIMAGE_CFG) $(TIMN_IMAGE) $(TIMNCFG) $(WTMI_IMG)
- @if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then mv -t $(BUILD_PLAT) $(WTMI_ENC_IMG); fi
+ @if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then mv -t $(BUILD_PLAT) $(WTMI_ENC_IMG) OtpHash.txt; fi
@find . -name "*.txt" | grep -E "CSK[[:alnum:]]_KeyHash.txt|Tim_msg.txt|TIMHash.txt" | xargs rm -f
else
fip: ${BUILD_PLAT}/${FIP_NAME} ${DOIMAGETOOL} ${BUILD_PLAT}/ble.bin