fvp_bl1_setup.c 889 Bytes
Newer Older
1
/*
Roberto Vargas's avatar
Roberto Vargas committed
2
 * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
3
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
 */

7
#include <common/tbbr/tbbr_img_def.h>
8
#include <plat/arm/common/plat_arm.h>
9
10
11
#include <plat/common/platform.h>

#include "fvp_private.h"
12
13
14
15
16
17

/*******************************************************************************
 * Perform any BL1 specific platform actions.
 ******************************************************************************/
void bl1_early_platform_setup(void)
{
18
	arm_bl1_early_platform_setup();
19

20
	/* Initialize the platform config for future decision making */
21
	fvp_config_setup();
22

23
	/*
24
	 * Initialize Interconnect for this cluster during cold boot.
25
26
	 * No need for locks as no other CPU is active.
	 */
27
	fvp_interconnect_init();
28
	/*
29
	 * Enable coherency in Interconnect for the primary CPU's cluster.
30
	 */
31
	fvp_interconnect_enable();
32
}