diff options
Diffstat (limited to 'plat/compat/plat_compat.mk')
-rw-r--r-- | plat/compat/plat_compat.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plat/compat/plat_compat.mk b/plat/compat/plat_compat.mk new file mode 100644 index 00000000..af885421 --- /dev/null +++ b/plat/compat/plat_compat.mk @@ -0,0 +1,20 @@ +# +# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + +ifeq (${PSCI_EXTENDED_STATE_ID}, 1) + $(error "PSCI Compatibility mode can be enabled only if \ + PSCI_EXTENDED_STATE_ID is not set") +endif + +ifneq (${ARCH}, aarch64) + $(error "PSCI Compatibility mode is only supported for AArch64 platforms") +endif + +PLAT_BL_COMMON_SOURCES += plat/compat/aarch64/plat_helpers_compat.S + +BL31_SOURCES += plat/common/plat_psci_common.c \ + plat/compat/plat_pm_compat.c \ + plat/compat/plat_topology_compat.c |