blob: 315fc874133e286c1305ced2972d48f9bdb028a6 [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
Konstantin Porotchkinb3d4bd52021-02-28 16:12:56 +020014BL31_SOURCES += $(A8K_MSS_SOURCE)/mss_pm_ipc.c \
15 $(A8K_MSS_SOURCE)/mss_bl31_setup.c
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030016
17PLAT_INCLUDES += -I$(A8K_MSS_SOURCE)
18
19ifneq (${SCP_BL2},)
20# This define is used to inidcate the SCP image is present
21$(eval $(call add_define,SCP_IMAGE))
22endif