aboutsummaryrefslogtreecommitdiff
path: root/include/drivers/arm
diff options
context:
space:
mode:
authorAmbroise Vincent <ambroise.vincent@arm.com>2019-03-27 16:03:24 +0000
committerAmbroise Vincent <ambroise.vincent@arm.com>2019-04-03 14:55:18 +0100
commitcc69cfd28c6057b2929af312b6ddae9579a1cd63 (patch)
tree4d9b3bd456541db696c7bc59b6237b172d90fcd0 /include/drivers/arm
parentbe3991c0c31bda7b07f002d733c65c65655eb9ad (diff)
downloadtrusted-firmware-a-cc69cfd28c6057b2929af312b6ddae9579a1cd63.tar.gz
tzc: remove deprecated types
Types tzc_action_t and tzc_region_attributes_t are deprecated. Change-Id: Ieefeb8521a0e1130f39d09b5c0d2728f05084773 Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Diffstat (limited to 'include/drivers/arm')
-rw-r--r--include/drivers/arm/tzc380.h4
-rw-r--r--include/drivers/arm/tzc_common.h8
2 files changed, 2 insertions, 10 deletions
diff --git a/include/drivers/arm/tzc380.h b/include/drivers/arm/tzc380.h
index 03b9b054e7..a8098a2f62 100644
--- a/include/drivers/arm/tzc380.h
+++ b/include/drivers/arm/tzc380.h
@@ -138,7 +138,7 @@ void tzc380_init(uintptr_t base);
void tzc380_configure_region(uint8_t region,
uintptr_t region_base,
unsigned int attr);
-void tzc380_set_action(tzc_action_t action);
+void tzc380_set_action(unsigned int action);
static inline void tzc_init(uintptr_t base)
{
tzc380_init(base);
@@ -151,7 +151,7 @@ static inline void tzc_configure_region(uint8_t region,
tzc380_configure_region(region, region_base, attr);
}
-static inline void tzc_set_action(tzc_action_t action)
+static inline void tzc_set_action(unsigned int action)
{
tzc380_set_action(action);
}
diff --git a/include/drivers/arm/tzc_common.h b/include/drivers/arm/tzc_common.h
index 4820baa1a0..e58201c322 100644
--- a/include/drivers/arm/tzc_common.h
+++ b/include/drivers/arm/tzc_common.h
@@ -86,12 +86,4 @@
#define TZC_REGION_OFFSET(region_size, region_no) \
((region_size) * (region_no))
-#ifndef __ASSEMBLY__
-
-#if !ERROR_DEPRECATED
-typedef unsigned int tzc_action_t;
-typedef unsigned int tzc_region_attributes_t;
-#endif
-
-#endif /* __ASSEMBLY__ */
#endif /* TZC_COMMON_H */