aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target/musca_s1/tfm_peripherals_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ext/target/musca_s1/tfm_peripherals_def.h')
-rw-r--r--platform/ext/target/musca_s1/tfm_peripherals_def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/ext/target/musca_s1/tfm_peripherals_def.h b/platform/ext/target/musca_s1/tfm_peripherals_def.h
index 4ece630287..6f70235210 100644
--- a/platform/ext/target/musca_s1/tfm_peripherals_def.h
+++ b/platform/ext/target/musca_s1/tfm_peripherals_def.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2019, Arm Limited. All rights reserved.
+ * Copyright (c) 2020, Cypress Semiconductor Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -8,11 +9,14 @@
#ifndef __TFM_PERIPHERALS_DEF_H__
#define __TFM_PERIPHERALS_DEF_H__
+#include "platform_irq.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#define TFM_TIMER0_IRQ (3)
+#define TFM_TIMER0_IRQ (TIMER0_IRQn)
+#define TFM_TIMER1_IRQ (TIMER1_IRQn)
struct tfm_spm_partition_platform_data_t;