summaryrefslogtreecommitdiff
path: root/tests/runtime_services/secure_service/legacy/test_secure_service_handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtime_services/secure_service/legacy/test_secure_service_handle.c')
-rw-r--r--tests/runtime_services/secure_service/legacy/test_secure_service_handle.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/runtime_services/secure_service/legacy/test_secure_service_handle.c b/tests/runtime_services/secure_service/legacy/test_secure_service_handle.c
index effa873..421e4a0 100644
--- a/tests/runtime_services/secure_service/legacy/test_secure_service_handle.c
+++ b/tests/runtime_services/secure_service/legacy/test_secure_service_handle.c
@@ -17,15 +17,13 @@
#include <test_helpers.h>
#include <tftf_lib.h>
-#define MM_COMMUNICATE_DUMMY_ID 42
-
static event_t cpu_has_finished_test;
/* Test routine for test_secure_partition_secondary_cores_seq() */
static test_result_t test_secure_partition_secondary_cores_seq_fn(void)
{
secure_partition_request_info_t *sps_request
- = create_sps_request(MM_COMMUNICATE_DUMMY_ID, NULL, 0);
+ = create_sps_request(SPS_CHECK_ALIVE, NULL, 0);
INFO("Sending MM_COMMUNICATE_AARCH64 from CPU %u\n",
platform_get_core_pos(read_mpidr_el1() & MPID_MASK));
@@ -111,7 +109,7 @@ static test_result_t test_secure_partition_secondary_cores_sim_fn(void)
u_register_t cpu_mpid = read_mpidr_el1() & MPID_MASK;
unsigned int core_pos = platform_get_core_pos(cpu_mpid);
secure_partition_request_info_t *sps_request
- = create_sps_request(MM_COMMUNICATE_DUMMY_ID, NULL, 0);
+ = create_sps_request(SPS_CHECK_ALIVE, NULL, 0);
smc_args mm_communicate_smc = {
MM_COMMUNICATE_AARCH64,