aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-11-23 19:34:43 +0100
committerManish Pandey <manish.pandey2@arm.com>2020-12-07 11:05:14 +0000
commitbafc9476b95652164bfdce5fe800c7e76394b127 (patch)
treef345a7d2127d7a364e549eea2a3a3317384c1aa6 /plat
parent2f852b89b13ebc1ef2c40c5c5d780e5daab0330e (diff)
downloadplatform_external_arm-trusted-firmware-bafc9476b95652164bfdce5fe800c7e76394b127.tar.gz
platform_external_arm-trusted-firmware-bafc9476b95652164bfdce5fe800c7e76394b127.tar.bz2
platform_external_arm-trusted-firmware-bafc9476b95652164bfdce5fe800c7e76394b127.zip
plat: marvell: armada: a3k: Build $(WTMI_ENC_IMG) in $(BUILD_PLAT) directory
Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: Iaecd6c24bf334a959ac2bf395c3ee49c810b01a7
Diffstat (limited to 'plat')
-rw-r--r--plat/marvell/armada/a3k/common/a3700_common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/marvell/armada/a3k/common/a3700_common.mk b/plat/marvell/armada/a3k/common/a3700_common.mk
index c75721f2e..fccd4868c 100644
--- a/plat/marvell/armada/a3k/common/a3700_common.mk
+++ b/plat/marvell/armada/a3k/common/a3700_common.mk
@@ -101,7 +101,7 @@ WTMI_SYSINIT_IMG := $(DOIMAGEPATH)/wtmi/sys_init/build/sys_init.bin
# and sys-init image (WTMI_SYSINIT_IMG).
WTMI_MULTI_IMG := $(DOIMAGEPATH)/wtmi/build/wtmi.bin
-WTMI_ENC_IMG := $(DOIMAGEPATH)/wtmi/build/wtmi-enc.bin
+WTMI_ENC_IMG := $(BUILD_PLAT)/wtmi-enc.bin
BUILD_UART := uart-images
SRCPATH := $(dir $(BL33))
@@ -174,7 +174,7 @@ endif
$(TIM2IMG) $(TIM2IMGARGS) -o $(BUILD_PLAT)/$(FLASH_IMAGE)
@mv -t $(BUILD_PLAT) $(TIM_IMAGE) $(DOIMAGE_CFG) $(TIMN_IMAGE) $(TIMNCFG)
@cp -t $(BUILD_PLAT) $(WTMI_IMG) $(WTMI_SYSINIT_IMG) $(WTMI_MULTI_IMG)
- @if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then mv -t $(BUILD_PLAT) $(WTMI_ENC_IMG) OtpHash.txt; fi
+ @if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then mv -t $(BUILD_PLAT) OtpHash.txt; fi
@find . -name "*.txt" | grep -E "CSK[[:alnum:]]_KeyHash.txt|Tim_msg.txt|TIMHash.txt" | xargs rm -f
else # ${WTP}