fvp_bl1_setup.c 874 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
8
9
#include <common/tbbr/tbbr_img_def.h>
#include <plat/common/platform.h>

10
#include <plat_arm.h>
11

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

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

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

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