1 /* 2 * Copyright (c) 2024, 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 #if (TARGET_PLATFORM <= 2) 11 static const arm_tzc_regions_info_t tzc_regions[] = { 12 TC_TZC_REGIONS_DEF, 13 {} 14 }; 15 #endif 16 17 /* Initialize the secure environment */ 18 void plat_arm_security_setup(void) 19 { 20 #if (TARGET_PLATFORM <= 2) 21 unsigned int i; 22 23 for (i = 0U; i < TZC400_COUNT; i++) { 24 arm_tzc400_setup(TZC400_BASE(i), tzc_regions); 25 } 26 #endif 27 } 28