• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <plat/arm/common/plat_arm.h>
8 #include <platform_def.h>
9 
10 static const arm_tzc_regions_info_t tzc_regions[] = {
11 	TC0_TZC_REGIONS_DEF,
12 	{}
13 };
14 
15 /* Initialize the secure environment */
plat_arm_security_setup(void)16 void plat_arm_security_setup(void)
17 {
18 	unsigned int i;
19 
20 	for (i = 0U; i < TZC400_COUNT; i++) {
21 		arm_tzc400_setup(TZC400_BASE(i), tzc_regions);
22 	}
23 }
24