]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
plat: marvell: armada: a3k: Build $(WTMI_ENC_IMG) in $(BUILD_PLAT) directory
authorPali Rohár <pali@kernel.org>
Mon, 23 Nov 2020 18:34:43 +0000 (19:34 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 7 Dec 2020 11:05:14 +0000 (11:05 +0000)
Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: Iaecd6c24bf334a959ac2bf395c3ee49c810b01a7

plat/marvell/armada/a3k/common/a3700_common.mk

index c75721f2e67209eea47f3bf53b092810ca1b0918..fccd4868c41cefc27817d0f1ea5ea193615e5791 100644 (file)
@@ -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}