Skip to content

Remove Mbed SPM #12738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions TESTS/psa/spm_client/COMPONENT_NSPE/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,6 @@ Case cases[] = {
Case("Testing client psa_version() API on non-existing SID", psa_version_non_existing),
Case("Testing client psa_version() API to a service that is not NSPE callable", psa_version_secure_access_only),
Case("Testing client multiple calls on different channels to the same SID", multi_thread_diff_handles),
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T244
Case("Testing client exceed num of max channels allowed", exceed_num_of_max_channels),
#endif
};

utest::v1::status_t test_setup(const size_t number_of_cases)
Expand Down
3 changes: 0 additions & 3 deletions TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,6 @@ Case cases[] = {
SPM_UTEST_CASE("Try to skip more bytes than left while reading", skip_more_than_left),
SPM_UTEST_CASE("Test rhandle implementation by calculating the factorial function", rhandle_factorial),
SPM_UTEST_CASE("Test a call flow between 2 secure partitions", cross_partition_call),
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
SPM_UTEST_CASE("Test a common DOORBELL scenario", doorbell_test),
#endif
};

//Declare your test specification with a custom setup handler
Expand Down
8 changes: 0 additions & 8 deletions TESTS/psa/spm_server/COMPONENT_SPE/server_tests_partition2.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#include "psa/service.h"
#include "mbed_spm_partitions.h"

#if defined(TARGET_MBED_SPM)
#include "cmsis_os2.h"
#endif

void server_part2_main(void *ptr)
{
psa_signal_t signals = 0;
Expand Down Expand Up @@ -88,10 +84,6 @@ void server_part2_main(void *ptr)
}
// In doorbell scenario the server first calls psa_reply()
psa_reply(msg.handle, PSA_SUCCESS);
#if defined(TARGET_MBED_SPM)
// Then the servers waits to some driver making long calculations - imitate using osDelay()
osDelay(20);
#endif
// After work is done, ring the doorbell
psa_notify(caller_part_id);
break;
Expand Down
3 changes: 0 additions & 3 deletions TESTS/psa/spm_server/COMPONENT_SPE/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,5 @@ psa_test_server_side_func test_list[] = {
PSA_TEST_SERVER_NAME(skip_more_than_left),
PSA_TEST_SERVER_NAME(rhandle_factorial),
PSA_TEST_SERVER_NAME(cross_partition_call),
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
PSA_TEST_SERVER_NAME(doorbell_test),
#endif
NULL
};
160 changes: 0 additions & 160 deletions components/TARGET_PSA/TARGET_MBED_SPM/COMPONENT_SPE/handles_manager.c

This file was deleted.

160 changes: 0 additions & 160 deletions components/TARGET_PSA/TARGET_MBED_SPM/COMPONENT_SPE/handles_manager.h

This file was deleted.

Loading