1 /* 2 * Copyright (c) 2014-2015, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <arm_config.h> 8 #include <plat_arm.h> 9 10 /* 11 * We assume that all security programming is done by the primary core. 12 */ 13 void plat_arm_security_setup(void) 14 { 15 /* 16 * The Base FVP has a TrustZone address space controller, the Foundation 17 * FVP does not. Trying to program the device on the foundation FVP will 18 * cause an abort. 19 * 20 * If the platform had additional peripheral specific security 21 * configurations, those would be configured here. 22 */ 23 24 if (get_arm_config()->flags & ARM_CONFIG_HAS_TZC) 25 arm_tzc400_setup(); 26 } 27