blob: d8d4921933031d3ace36374a8533654a7cf507cb [file] [log] [blame]
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03001#
2# Copyright (C) 2018 Marvell International Ltd.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5# https://spdx.org/licenses
6#
7
Grzegorz Jaszczyk3039bce2019-11-05 13:14:59 +01008PLAT_MARVELL := plat/marvell/armada
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03009A8K_MSS_SOURCE := $(PLAT_MARVELL)/a8k/common/mss
10
Grzegorz Jaszczyk17e43dd2017-08-18 16:42:12 +020011BL2_SOURCES += $(A8K_MSS_SOURCE)/mss_bl2_setup.c \
12 $(MARVELL_MOCHI_DRV)
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030013
14BL31_SOURCES += $(A8K_MSS_SOURCE)/mss_pm_ipc.c
15
16PLAT_INCLUDES += -I$(A8K_MSS_SOURCE)
17
18ifneq (${SCP_BL2},)
19# This define is used to inidcate the SCP image is present
20$(eval $(call add_define,SCP_IMAGE))
21endif