aboutsummaryrefslogtreecommitdiff
path: root/spm/cactus/cactus_tests_misc.c
diff options
context:
space:
mode:
authorMax Shvetsov <maksims.svecovs@arm.com>2020-06-08 11:15:30 +0100
committerMax Shvetsov <maksims.svecovs@arm.com>2020-07-27 13:36:01 +0100
commit40eb6a2ee493beb61d617f249af91e4f52453700 (patch)
tree55bf174271d54fad16fb0f1d7b1e25f67216f1cb /spm/cactus/cactus_tests_misc.c
parentc17c1d3ad278e007b551617be23b09e13b577ef0 (diff)
downloadtf-a-tests-40eb6a2ee493beb61d617f249af91e4f52453700.tar.gz
Cactus: FFA_FEATURES test.
Calls FFA_FEATURES API from the secure virtual FF-A instance which is serviced by SPMC. Expected responses should be edited according to the feature implementation progress. Removing obsolete SPRT version check and cactus_tests_misc.c as a result. Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com> Change-Id: I8a2e569a3bce31a735e1af04994984fda2168296
Diffstat (limited to 'spm/cactus/cactus_tests_misc.c')
-rw-r--r--spm/cactus/cactus_tests_misc.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/spm/cactus/cactus_tests_misc.c b/spm/cactus/cactus_tests_misc.c
deleted file mode 100644
index 39eb7522..00000000
--- a/spm/cactus/cactus_tests_misc.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2018, Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
-#include <assert.h>
-#include <debug.h>
-#include <errno.h>
-#include <sp_helpers.h>
-#include <spm_svc.h>
-#include <sprt_client.h>
-#include <sprt_svc.h>
-#include <stdint.h>
-
-#include "cactus.h"
-#include "cactus_tests.h"
-
-/*
- * Miscellaneous SPM tests.
- */
-void misc_tests(void)
-{
- int32_t ret;
-
- const char *test_sect_desc = "miscellaneous";
-
- announce_test_section_start(test_sect_desc);
-
- const char *test_version_sprt = "SPRT version check";
-
- announce_test_start(test_version_sprt);
- ret = sprt_version();
- INFO("Version = 0x%x (%u.%u)\n", ret,
- (ret >> SPRT_VERSION_MAJOR_SHIFT) & SPRT_VERSION_MAJOR_MASK,
- ret & SPRT_VERSION_MINOR_MASK);
- expect(ret, SPRT_VERSION_COMPILED);
- announce_test_end(test_version_sprt);
-
- announce_test_section_end(test_sect_desc);
-}