xref: /rk3399_ARM-atf/plat/arm/board/fvp/fvp_bl2u_setup.c (revision 988cc820005ab8381c105bcc03ab3f6b0d95aac8)
1dcda29f6SYatharth Kochar /*
2*1b597c22SAlexei Fedorov  * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
3dcda29f6SYatharth Kochar  *
482cb2c1aSdp-arm  * SPDX-License-Identifier: BSD-3-Clause
5dcda29f6SYatharth Kochar  */
6dcda29f6SYatharth Kochar 
7bd9344f6SAntonio Nino Diaz #include <plat/arm/common/plat_arm.h>
809d40e0eSAntonio Nino Diaz #include <plat/common/platform.h>
9234bc7f8SAntonio Nino Diaz #include <platform_def.h>
1009d40e0eSAntonio Nino Diaz 
11dcda29f6SYatharth Kochar #include "fvp_private.h"
12dcda29f6SYatharth Kochar 
bl2u_early_platform_setup(struct meminfo * mem_layout,void * plat_info)136c77e749SSandrine Bailleux void bl2u_early_platform_setup(struct meminfo *mem_layout, void *plat_info)
14dcda29f6SYatharth Kochar {
15dcda29f6SYatharth Kochar 	arm_bl2u_early_platform_setup(mem_layout, plat_info);
16dcda29f6SYatharth Kochar 
17*1b597c22SAlexei Fedorov 	/* Initialize System level generic or SP804 timer */
18*1b597c22SAlexei Fedorov 	fvp_timer_init();
19*1b597c22SAlexei Fedorov 
20dcda29f6SYatharth Kochar 	/* Initialize the platform config for future decision making */
21dcda29f6SYatharth Kochar 	fvp_config_setup();
22dcda29f6SYatharth Kochar }
23