blob: fd73767c6e76b2356c4dd94bc05db58857a2163e [file] [log] [blame]
Yatharth Kochar3a11eda2015-10-14 15:28:11 +01001/*
Alexei Fedorov7131d832019-08-16 14:15:59 +01002 * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
Yatharth Kochar3a11eda2015-10-14 15:28:11 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Yatharth Kochar3a11eda2015-10-14 15:28:11 +01005 */
6
Antonio Nino Diazbd7b7402019-01-25 14:30:04 +00007#include <plat/arm/common/plat_arm.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00008#include <plat/common/platform.h>
Antonio Nino Diaza320ecd2019-01-15 14:19:50 +00009#include <platform_def.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000010
Yatharth Kochar3a11eda2015-10-14 15:28:11 +010011#include "fvp_private.h"
12
Sandrine Bailleuxb3b6e222018-07-11 12:44:22 +020013void bl2u_early_platform_setup(struct meminfo *mem_layout, void *plat_info)
Yatharth Kochar3a11eda2015-10-14 15:28:11 +010014{
15 arm_bl2u_early_platform_setup(mem_layout, plat_info);
16
Alexei Fedorov7131d832019-08-16 14:15:59 +010017 /* Initialize System level generic or SP804 timer */
18 fvp_timer_init();
19
Yatharth Kochar3a11eda2015-10-14 15:28:11 +010020 /* Initialize the platform config for future decision making */
21 fvp_config_setup();
22}