aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target/musca_b1/Device/Source/device_definition.c
diff options
context:
space:
mode:
authorMate Toth-Pal <mate.toth-pal@arm.com>2019-03-05 16:11:14 +0100
committerMate Toth-Pal <mate.toth-pal@arm.com>2019-07-09 11:49:21 +0200
commita9f8e9ec3fe6ab6969b95af31b0fc787d9959261 (patch)
tree9abffae93b6991b86725b3e20d847008ae869f24 /platform/ext/target/musca_b1/Device/Source/device_definition.c
parent912eb610640d8a31753ef8f5b96d0dca8102b4d6 (diff)
downloadtrusted-firmware-m-a9f8e9ec3fe6ab6969b95af31b0fc787d9959261.tar.gz
Platform: Add timer to the platform test interface
Add timer to the platform test interface so that it can be used from the IRQ tests as an interrupt source. Detailed changes: * Add timer_cmsdk driver files to unpriv code * Align the timer interrupt handler names in the startup assemblies accross platforms * Add timer handling function declarations in tfm_plat_test.h and implement them in the platform directories * Create platform data for timer0 in tfm_peripherals_def.h * Add option to configure timer0 as secure peripheral in PPC * Fix MUSCA_A and MUSCA_B1 cmake files for building timer driver Change-Id: I04757d2a961e044218c78aa09b754aaf82ac8a35 Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
Diffstat (limited to 'platform/ext/target/musca_b1/Device/Source/device_definition.c')
-rw-r--r--platform/ext/target/musca_b1/Device/Source/device_definition.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ext/target/musca_b1/Device/Source/device_definition.c b/platform/ext/target/musca_b1/Device/Source/device_definition.c
index 2beccd1434..b942d290d9 100644
--- a/platform/ext/target/musca_b1/Device/Source/device_definition.c
+++ b/platform/ext/target/musca_b1/Device/Source/device_definition.c
@@ -26,6 +26,7 @@
#include "device_cfg.h"
#include "device_definition.h"
#include "platform_base_address.h"
+#include "platform/include/tfm_plat_defs.h"
/* ======= Peripheral configuration structure definitions ======= */
/* MUSCA B1 SCC driver structures */