aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2019-11-18 15:58:31 +0800
committerDavid Hu <david.hu@arm.com>2019-11-27 11:28:08 +0800
commit14d4a73cae631ea291f4d8d04e3c588ea9e955c8 (patch)
treee47b92bf516eac08c9ef56f59c9f244b44d263c1
parentc1872ef0990102fcfb85724794101c614513d360 (diff)
downloadtrusted-firmware-m-feature-twincpu.tar.gz
Platform: Update tfm_platform_ns_wait_for_s_cpu_ready() in PSoC 6feature-twincpu
Update return type of tfm_platform_ns_wait_for_s_cpu_ready() to int32_t on PSoC 6 platforms. Change-Id: I7a569ea354e0ff6541ccf64a412af1865a1eee71 Signed-off-by: David Hu <david.hu@arm.com>
-rw-r--r--interface/include/tfm_multi_core_api.h2
-rw-r--r--platform/ext/target/cypress/psoc62/mailbox/platform_multicore.c2
-rw-r--r--platform/ext/target/cypress/psoc64/mailbox/platform_multicore.c2
-rw-r--r--platform/ext/target/cypress/psoc64_1m/mailbox/platform_multicore.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/interface/include/tfm_multi_core_api.h b/interface/include/tfm_multi_core_api.h
index 365260f55..437a1ca48 100644
--- a/interface/include/tfm_multi_core_api.h
+++ b/interface/include/tfm_multi_core_api.h
@@ -33,7 +33,7 @@ int tfm_ns_wait_for_s_cpu_ready(void);
* \retval 0 The operation succeeds.
* \retval else The operation fails.
*/
-int tfm_platform_ns_wait_for_s_cpu_ready(void);
+int32_t tfm_platform_ns_wait_for_s_cpu_ready(void);
/**
* \brief Acquire the multi-core lock for synchronizing PSA client call(s)
diff --git a/platform/ext/target/cypress/psoc62/mailbox/platform_multicore.c b/platform/ext/target/cypress/psoc62/mailbox/platform_multicore.c
index 5bb47491b..e860ae03e 100644
--- a/platform/ext/target/cypress/psoc62/mailbox/platform_multicore.c
+++ b/platform/ext/target/cypress/psoc62/mailbox/platform_multicore.c
@@ -110,7 +110,7 @@ int platform_ns_ipc_init(void)
return PLATFORM_MAILBOX_SUCCESS;
}
-int tfm_platform_ns_wait_for_s_cpu_ready(void)
+int32_t tfm_platform_ns_wait_for_s_cpu_ready(void)
{
uint32_t data = 0;
diff --git a/platform/ext/target/cypress/psoc64/mailbox/platform_multicore.c b/platform/ext/target/cypress/psoc64/mailbox/platform_multicore.c
index 5bb47491b..e860ae03e 100644
--- a/platform/ext/target/cypress/psoc64/mailbox/platform_multicore.c
+++ b/platform/ext/target/cypress/psoc64/mailbox/platform_multicore.c
@@ -110,7 +110,7 @@ int platform_ns_ipc_init(void)
return PLATFORM_MAILBOX_SUCCESS;
}
-int tfm_platform_ns_wait_for_s_cpu_ready(void)
+int32_t tfm_platform_ns_wait_for_s_cpu_ready(void)
{
uint32_t data = 0;
diff --git a/platform/ext/target/cypress/psoc64_1m/mailbox/platform_multicore.c b/platform/ext/target/cypress/psoc64_1m/mailbox/platform_multicore.c
index 5bb47491b..e860ae03e 100644
--- a/platform/ext/target/cypress/psoc64_1m/mailbox/platform_multicore.c
+++ b/platform/ext/target/cypress/psoc64_1m/mailbox/platform_multicore.c
@@ -110,7 +110,7 @@ int platform_ns_ipc_init(void)
return PLATFORM_MAILBOX_SUCCESS;
}
-int tfm_platform_ns_wait_for_s_cpu_ready(void)
+int32_t tfm_platform_ns_wait_for_s_cpu_ready(void)
{
uint32_t data = 0;