Skip to content

Commit 8fea81a

Browse files
authored
Merge pull request #12738 from Patater/rip-mbed-spm
Remove Mbed SPM
2 parents 7f4dc90 + 07a84ec commit 8fea81a

File tree

214 files changed

+4
-106618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+4
-106618
lines changed

TESTS/psa/spm_client/COMPONENT_NSPE/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,6 @@ Case cases[] = {
467467
Case("Testing client psa_version() API on non-existing SID", psa_version_non_existing),
468468
Case("Testing client psa_version() API to a service that is not NSPE callable", psa_version_secure_access_only),
469469
Case("Testing client multiple calls on different channels to the same SID", multi_thread_diff_handles),
470-
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T244
471-
Case("Testing client exceed num of max channels allowed", exceed_num_of_max_channels),
472-
#endif
473470
};
474471

475472
utest::v1::status_t test_setup(const size_t number_of_cases)

TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ Case cases[] = {
262262
SPM_UTEST_CASE("Try to skip more bytes than left while reading", skip_more_than_left),
263263
SPM_UTEST_CASE("Test rhandle implementation by calculating the factorial function", rhandle_factorial),
264264
SPM_UTEST_CASE("Test a call flow between 2 secure partitions", cross_partition_call),
265-
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
266-
SPM_UTEST_CASE("Test a common DOORBELL scenario", doorbell_test),
267-
#endif
268265
};
269266

270267
//Declare your test specification with a custom setup handler

TESTS/psa/spm_server/COMPONENT_SPE/server_tests_partition2.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
#include "psa/service.h"
2222
#include "mbed_spm_partitions.h"
2323

24-
#if defined(TARGET_MBED_SPM)
25-
#include "cmsis_os2.h"
26-
#endif
27-
2824
void server_part2_main(void *ptr)
2925
{
3026
psa_signal_t signals = 0;
@@ -88,10 +84,6 @@ void server_part2_main(void *ptr)
8884
}
8985
// In doorbell scenario the server first calls psa_reply()
9086
psa_reply(msg.handle, PSA_SUCCESS);
91-
#if defined(TARGET_MBED_SPM)
92-
// Then the servers waits to some driver making long calculations - imitate using osDelay()
93-
osDelay(20);
94-
#endif
9587
// After work is done, ring the doorbell
9688
psa_notify(caller_part_id);
9789
break;

TESTS/psa/spm_server/COMPONENT_SPE/tests.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,5 @@ psa_test_server_side_func test_list[] = {
698698
PSA_TEST_SERVER_NAME(skip_more_than_left),
699699
PSA_TEST_SERVER_NAME(rhandle_factorial),
700700
PSA_TEST_SERVER_NAME(cross_partition_call),
701-
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
702-
PSA_TEST_SERVER_NAME(doorbell_test),
703-
#endif
704701
NULL
705702
};

components/TARGET_PSA/TARGET_MBED_SPM/COMPONENT_SPE/handles_manager.c

Lines changed: 0 additions & 160 deletions
This file was deleted.

components/TARGET_PSA/TARGET_MBED_SPM/COMPONENT_SPE/handles_manager.h

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)