plat_compat.mk 617 Bytes
Newer Older
1
#
2
# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
3
#
dp-arm's avatar
dp-arm committed
4
# SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
10
11
#

ifeq (${PSCI_EXTENDED_STATE_ID}, 1)
  $(error "PSCI Compatibility mode can be enabled only if \
				 PSCI_EXTENDED_STATE_ID is not set")
endif

12
13
14
ifneq (${ARCH}, aarch64)
  $(error "PSCI Compatibility mode is only supported for AArch64 platforms")
endif
15
16
17

PLAT_BL_COMMON_SOURCES	+=	plat/compat/aarch64/plat_helpers_compat.S

18
BL31_SOURCES		+=	plat/common/plat_psci_common.c		\
19
20
				plat/compat/plat_pm_compat.c		\
				plat/compat/plat_topology_compat.c
21
22
23

# Do not enable SVE
ENABLE_SVE_FOR_NS	:=	0