Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2018 Marvell International Ltd. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # https://spdx.org/licenses |
| 6 | # |
| 7 | |
Grzegorz Jaszczyk | 3039bce | 2019-11-05 13:14:59 +0100 | [diff] [blame] | 8 | PLAT_MARVELL := plat/marvell/armada |
Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 9 | A8K_MSS_SOURCE := $(PLAT_MARVELL)/a8k/common/mss |
| 10 | |
Grzegorz Jaszczyk | 17e43dd | 2017-08-18 16:42:12 +0200 | [diff] [blame] | 11 | BL2_SOURCES += $(A8K_MSS_SOURCE)/mss_bl2_setup.c \ |
| 12 | $(MARVELL_MOCHI_DRV) |
Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 13 | |
Konstantin Porotchkin | b3d4bd5 | 2021-02-28 16:12:56 +0200 | [diff] [blame^] | 14 | BL31_SOURCES += $(A8K_MSS_SOURCE)/mss_pm_ipc.c \ |
| 15 | $(A8K_MSS_SOURCE)/mss_bl31_setup.c |
Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 16 | |
| 17 | PLAT_INCLUDES += -I$(A8K_MSS_SOURCE) |
| 18 | |
| 19 | ifneq (${SCP_BL2},) |
| 20 | # This define is used to inidcate the SCP image is present |
| 21 | $(eval $(call add_define,SCP_IMAGE)) |
| 22 | endif |