diff options
Diffstat (limited to 'tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c')
-rw-r--r-- | tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c b/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c index 9afd91027..cc4ad191c 100644 --- a/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c +++ b/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Arm Limited. All rights reserved. + * Copyright (c) 2018-2019, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -214,7 +214,11 @@ test_result_t test_affinity_info_level1_off(void) * CPU on the platform. The PSCI implementation should ignore the * affinity 0 field. */ +#if FVP_MAX_PE_PER_CPU > 1 + target_mpid = make_mpid(cluster_id, 0, 0xE1); +#else target_mpid = make_mpid(cluster_id, 0xE1); +#endif aff_info = tftf_psci_affinity_info(target_mpid, MPIDR_AFFLVL1); return get_test_result(expected_values, aff_info); } |