blob: f1867da1e6cff22049060bdac4e13cb13785fd65 [file] [log] [blame]
Soby Mathew49473e42015-06-10 13:49:59 +01001#
Soby Mathewf6c41082016-05-03 12:31:18 +01002# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
Soby Mathew49473e42015-06-10 13:49:59 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Soby Mathew49473e42015-06-10 13:49:59 +01005#
6
7ifeq (${PSCI_EXTENDED_STATE_ID}, 1)
8 $(error "PSCI Compatibility mode can be enabled only if \
9 PSCI_EXTENDED_STATE_ID is not set")
10endif
11
Soby Mathew0d268dc2016-07-11 14:13:56 +010012ifneq (${ARCH}, aarch64)
13 $(error "PSCI Compatibility mode is only supported for AArch64 platforms")
14endif
Soby Mathew49473e42015-06-10 13:49:59 +010015
16PLAT_BL_COMMON_SOURCES += plat/compat/aarch64/plat_helpers_compat.S
17
Soby Mathewf6c41082016-05-03 12:31:18 +010018BL31_SOURCES += plat/common/plat_psci_common.c \
Soby Mathew49473e42015-06-10 13:49:59 +010019 plat/compat/plat_pm_compat.c \
20 plat/compat/plat_topology_compat.c
David Cunadoc5b0c0f2017-10-31 23:19:21 +000021
22# Do not enable SVE
23ENABLE_SVE_FOR_NS := 0