summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-03-05 14:27:45 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-03-06 14:18:51 +0200
commit54a2af321fa36fb88c4eccd51dc5677e3f7358d5 (patch)
treef341f810fd9b790f57149c304883ccf1ad5cecfc
parent2d67622996c77bb1b54c3212f4a9b36d12093df1 (diff)
fix: marvell: Remove duplicate make rules
Remove duplicate rules from MSS make files. When present, cause build warning: warning: overriding recipe for target 'check_SCP_BL2' Change-Id: I308a6b657d22d526f64919792b8f53d38e921e49 Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/51331 Tested-by: iSoC Platform CI <ykjenk@marvell.com>
-rw-r--r--plat/marvell/a8k/common/mss/mss_a8k.mk3
-rw-r--r--plat/marvell/common/mss/mss_common.mk8
2 files changed, 0 insertions, 11 deletions
diff --git a/plat/marvell/a8k/common/mss/mss_a8k.mk b/plat/marvell/a8k/common/mss/mss_a8k.mk
index cf1bf128..060e8db2 100644
--- a/plat/marvell/a8k/common/mss/mss_a8k.mk
+++ b/plat/marvell/a8k/common/mss/mss_a8k.mk
@@ -40,9 +40,6 @@ BL31_SOURCES += $(A8K_MSS_SOURCE)/mss_pm_ipc.c
PLAT_INCLUDES += -I$(A8K_MSS_SOURCE)
ifneq (${SCP_BL2},)
-# Subsystems require a SCP_BL2 image
-$(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
-
# This define is used to inidcate the SCP image is present
$(eval $(call add_define,SCP_IMAGE))
endif
diff --git a/plat/marvell/common/mss/mss_common.mk b/plat/marvell/common/mss/mss_common.mk
index c04f26c8..83fe32c0 100644
--- a/plat/marvell/common/mss/mss_common.mk
+++ b/plat/marvell/common/mss/mss_common.mk
@@ -42,11 +42,3 @@ BL2_SOURCES += $(MSS_SOURCE)/mss_scp_bootloader.c \
BL31_SOURCES += $(MSS_SOURCE)/mss_ipc_drv.c
PLAT_INCLUDES += -I$(MSS_SOURCE)
-
-ifneq (${SCP_BL2},)
-# Subsystems require a SCP_BL2 image
-$(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
-
-# This define is used to inidcate the SCP image is present
-$(eval $(call add_define,SCP_IMAGE))
-endif