blob: 9f82ccbf35cf602620b7db0b08962ca60997512d [file] [log] [blame]
Marc Bonnici8e1a7552021-12-01 17:57:04 +00001#
2# Copyright (c) 2022, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifneq (${ARCH},aarch64)
8 $(error "Error: SPMC is only supported on aarch64.")
9endif
10
11SPMC_SOURCES := $(addprefix services/std_svc/spm/el3_spmc/, \
12 spmc_main.c \
Marc Bonnici9a297042022-02-14 17:06:09 +000013 spmc_setup.c \
Marc Bonnici25f4b542022-04-12 17:18:13 +010014 logical_sp.c \
15 spmc_pm.c)
Marc Bonnici8e1a7552021-12-01 17:57:04 +000016
Marc Bonnici35248f12021-08-19 14:42:19 +010017# Specify platform specific logical partition implementation.
18SPMC_LP_SOURCES := $(addprefix ${PLAT_DIR}/, \
19 ${PLAT}_el3_spmc_logical_sp.c)
20
21
22SPMC_SOURCES += $(SPMC_LP_SOURCES)
23
Marc Bonnici8e1a7552021-12-01 17:57:04 +000024# Let the top-level Makefile know that we intend to include a BL32 image
25NEED_BL32 := yes