1 # 2 # Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. 3 # 4 # SPDX-License-Identifier: BSD-3-Clause 5 # 6 7 ifeq (${PSCI_EXTENDED_STATE_ID}, 1) 8 $(error "PSCI Compatibility mode can be enabled only if \ 9 PSCI_EXTENDED_STATE_ID is not set") 10 endif 11 12 ifneq (${ARCH}, aarch64) 13 $(error "PSCI Compatibility mode is only supported for AArch64 platforms") 14 endif 15 16 PLAT_BL_COMMON_SOURCES += plat/compat/aarch64/plat_helpers_compat.S 17 18 BL31_SOURCES += plat/common/plat_psci_common.c \ 19 plat/compat/plat_pm_compat.c \ 20 plat/compat/plat_topology_compat.c 21