2015-06-10 13:49:59 +01:00
|
|
|
#
|
2016-05-03 12:31:18 +01:00
|
|
|
# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
|
2015-06-10 13:49:59 +01:00
|
|
|
#
|
2017-05-03 09:38:09 +01:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2015-06-10 13:49:59 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
ifeq (${PSCI_EXTENDED_STATE_ID}, 1)
|
|
|
|
$(error "PSCI Compatibility mode can be enabled only if \
|
|
|
|
PSCI_EXTENDED_STATE_ID is not set")
|
|
|
|
endif
|
|
|
|
|
2016-07-11 14:13:56 +01:00
|
|
|
ifneq (${ARCH}, aarch64)
|
|
|
|
$(error "PSCI Compatibility mode is only supported for AArch64 platforms")
|
|
|
|
endif
|
2015-06-10 13:49:59 +01:00
|
|
|
|
|
|
|
PLAT_BL_COMMON_SOURCES += plat/compat/aarch64/plat_helpers_compat.S
|
|
|
|
|
2016-05-03 12:31:18 +01:00
|
|
|
BL31_SOURCES += plat/common/plat_psci_common.c \
|
2015-06-10 13:49:59 +01:00
|
|
|
plat/compat/plat_pm_compat.c \
|
|
|
|
plat/compat/plat_topology_compat.c
|