Soby Mathew | 49473e4 | 2015-06-10 13:49:59 +0100 | [diff] [blame] | 1 | # |
Soby Mathew | f6c4108 | 2016-05-03 12:31:18 +0100 | [diff] [blame] | 2 | # Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. |
Soby Mathew | 49473e4 | 2015-06-10 13:49:59 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Soby Mathew | 49473e4 | 2015-06-10 13:49:59 +0100 | [diff] [blame] | 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 | |
Soby Mathew | 0d268dc | 2016-07-11 14:13:56 +0100 | [diff] [blame] | 12 | ifneq (${ARCH}, aarch64) |
| 13 | $(error "PSCI Compatibility mode is only supported for AArch64 platforms") |
| 14 | endif |
Soby Mathew | 49473e4 | 2015-06-10 13:49:59 +0100 | [diff] [blame] | 15 | |
| 16 | PLAT_BL_COMMON_SOURCES += plat/compat/aarch64/plat_helpers_compat.S |
| 17 | |
Soby Mathew | f6c4108 | 2016-05-03 12:31:18 +0100 | [diff] [blame] | 18 | BL31_SOURCES += plat/common/plat_psci_common.c \ |
Soby Mathew | 49473e4 | 2015-06-10 13:49:59 +0100 | [diff] [blame] | 19 | plat/compat/plat_pm_compat.c \ |
| 20 | plat/compat/plat_topology_compat.c |
David Cunado | c5b0c0f | 2017-10-31 23:19:21 +0000 | [diff] [blame] | 21 | |
| 22 | # Do not enable SVE |
| 23 | ENABLE_SVE_FOR_NS := 0 |