blob: 73f7c85ddb9cc00bc432a56faa0d01a82b9cf971 [file] [log] [blame]
Achin Gupta86f23532019-10-11 15:41:16 +01001#
2# Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifneq (${ARCH},aarch64)
8 $(error "Error: SPMD is only supported on aarch64.")
9endif
10
11SPMD_SOURCES += $(addprefix services/std_svc/spmd/, \
12 ${ARCH}/spmd_helpers.S \
Olivier Deprez9afca122019-10-28 09:15:52 +000013 spmd_pm.c \
Achin Gupta86f23532019-10-11 15:41:16 +010014 spmd_main.c)
15
16# Let the top-level Makefile know that we intend to include a BL32 image
17NEED_BL32 := yes
18
19# Enable dynamic memory mapping
20# The SPMD component maps the SPMC DTB within BL31 virtual space.
21PLAT_XLAT_TABLES_DYNAMIC := 1
22$(eval $(call add_define,PLAT_XLAT_TABLES_DYNAMIC))