aboutsummaryrefslogtreecommitdiff
path: root/include/plat
diff options
context:
space:
mode:
authorSuyash Pathak <suyash.pathak@arm.com>2020-02-04 13:55:20 +0530
committerSuyash Pathak <suyash.pathak@arm.com>2020-02-19 13:26:53 +0530
commit4ed16765187158eab9587d0b1eea13a82aed040f (patch)
treecbfaca649eb3b4da385c212b595861e6de59d3c2 /include/plat
parent86f297a3e1549624716ccf678f7f80d0141e5834 (diff)
downloadtrusted-firmware-a-4ed16765187158eab9587d0b1eea13a82aed040f.tar.gz
plat/arm/tzc: add support to configure multiple tzc400
For platforms that have two or more TZC400 controllers instantiated, allow the TZC400 driver to be usable with all those instances. This is achieved by allowing 'arm_tzc400_setup' function to accept the base address of the TZC400 controller. Change-Id: I4add470e6ddb58432cd066145e644112400ab924 Signed-off-by: Suyash Pathak <suyash.pathak@arm.com>
Diffstat (limited to 'include/plat')
-rw-r--r--include/plat/arm/common/plat_arm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/plat/arm/common/plat_arm.h b/include/plat/arm/common/plat_arm.h
index 025a64fa28..ac70e75607 100644
--- a/include/plat/arm/common/plat_arm.h
+++ b/include/plat/arm/common/plat_arm.h
@@ -152,7 +152,8 @@ void arm_setup_romlib(void);
int arm_io_setup(void);
/* Security utility functions */
-void arm_tzc400_setup(const arm_tzc_regions_info_t *tzc_regions);
+void arm_tzc400_setup(uintptr_t tzc_base,
+ const arm_tzc_regions_info_t *tzc_regions);
struct tzc_dmc500_driver_data;
void arm_tzc_dmc500_setup(struct tzc_dmc500_driver_data *plat_driver_data,
const arm_tzc_regions_info_t *tzc_regions);