aboutsummaryrefslogtreecommitdiff
path: root/secure_fw
diff options
context:
space:
mode:
authorKevin Peng <kevin.peng@arm.com>2021-05-21 09:57:28 +0800
committerKen Liu <ken.liu@arm.com>2021-05-21 06:01:11 +0200
commit34060489be415689493dc9b7a8ff5d7bb6013f9b (patch)
tree906edc8a9c393d4784d77d8536f3f762d7a598ee /secure_fw
parentf40be9345761f6e6f0757dc74330e5270c5c0dda (diff)
downloadtrusted-firmware-m-34060489be415689493dc9b7a8ff5d7bb6013f9b.tar.gz
SPM: Fix TFM_DEFAULT_SECURE_IRQ_PRIOTITY typo
It should be TFM_DEFAULT_SECURE_IRQ_PRIO*R*ITY. In the cases when the priority in interrupt controller is not set, the default value TFM_DEFAULT_SECURE_IRQ_PRIORITY cannot be found and build fails in IPC model. Change-Id: I6412de4163c793bfe9da361cacc8e8c19855c76c Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Diffstat (limited to 'secure_fw')
-rw-r--r--secure_fw/spm/cmsis_func/tfm_secure_irq_handlers.inc.template2
-rw-r--r--secure_fw/spm/include/tfm_irq_list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/secure_fw/spm/cmsis_func/tfm_secure_irq_handlers.inc.template b/secure_fw/spm/cmsis_func/tfm_secure_irq_handlers.inc.template
index 522886bcc..4995f17ae 100644
--- a/secure_fw/spm/cmsis_func/tfm_secure_irq_handlers.inc.template
+++ b/secure_fw/spm/cmsis_func/tfm_secure_irq_handlers.inc.template
@@ -34,7 +34,7 @@ const struct tfm_core_irq_signal_data_t tfm_core_irq_signals[] = {
{% if handler.tfm_irq_priority %}
{% set irq_data.priority = handler.tfm_irq_priority %}
{% else %}
- {% set irq_data.priority = "TFM_DEFAULT_SECURE_IRQ_PRIOTITY" %}
+ {% set irq_data.priority = "TFM_DEFAULT_SECURE_IRQ_PRIORITY" %}
{% endif %}
{{ _irq_record(partition.manifest.name, handler.signal, irq_data.line, irq_data.priority) }}
{% endfor %}
diff --git a/secure_fw/spm/include/tfm_irq_list.h b/secure_fw/spm/include/tfm_irq_list.h
index bb34616f8..fbe01ad7e 100644
--- a/secure_fw/spm/include/tfm_irq_list.h
+++ b/secure_fw/spm/include/tfm_irq_list.h
@@ -11,7 +11,7 @@
#include "tfm_hal_device_header.h"
#include "psa/service.h"
-#define TFM_DEFAULT_SECURE_IRQ_PRIOTITY 128
+#define TFM_DEFAULT_SECURE_IRQ_PRIORITY 128
struct tfm_core_irq_signal_data_t {
int32_t partition_id;