1 /* 2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <plat_arm.h> 8 #include "fvp_private.h" 9 10 void bl2_el3_early_platform_setup(u_register_t arg0 __unused, 11 u_register_t arg1 __unused, 12 u_register_t arg2 __unused, 13 u_register_t arg3 __unused) 14 { 15 arm_bl2_el3_early_platform_setup(); 16 17 /* Initialize the platform config for future decision making */ 18 fvp_config_setup(); 19 20 /* 21 * Initialize Interconnect for this cluster during cold boot. 22 * No need for locks as no other CPU is active. 23 */ 24 fvp_interconnect_init(); 25 /* 26 * Enable coherency in Interconnect for the primary CPU's cluster. 27 */ 28 fvp_interconnect_enable(); 29 } 30