diff options
author | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-03-27 16:03:24 +0000 |
---|---|---|
committer | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-04-03 14:55:18 +0100 |
commit | cc69cfd28c6057b2929af312b6ddae9579a1cd63 (patch) | |
tree | 4d9b3bd456541db696c7bc59b6237b172d90fcd0 /drivers/arm | |
parent | be3991c0c31bda7b07f002d733c65c65655eb9ad (diff) |
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 'drivers/arm')
-rw-r--r-- | drivers/arm/tzc/tzc380.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/arm/tzc/tzc380.c b/drivers/arm/tzc/tzc380.c index 676df8d8..95187485 100644 --- a/drivers/arm/tzc/tzc380.c +++ b/drivers/arm/tzc/tzc380.c @@ -24,7 +24,7 @@ static unsigned int tzc380_read_build_config(uintptr_t base) return mmio_read_32(base + TZC380_CONFIGURATION_OFF); } -static void tzc380_write_action(uintptr_t base, tzc_action_t action) +static void tzc380_write_action(uintptr_t base, unsigned int action) { mmio_write_32(base + ACTION_OFF, action); } @@ -91,7 +91,7 @@ void tzc380_configure_region(uint8_t region, uintptr_t region_base, unsigned int tzc380_write_region_attributes(tzc380.base, region, attr); } -void tzc380_set_action(tzc_action_t action) +void tzc380_set_action(unsigned int action) { assert(tzc380.base != 0U); |