xref: /rk3399_ARM-atf/plat/arm/board/fvp/fvp_bl2u_setup.c (revision dcda29f637891adf19a609f9b0b3adc6867de3d0)
1*dcda29f6SYatharth Kochar /*
2*dcda29f6SYatharth Kochar  * Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved.
3*dcda29f6SYatharth Kochar  *
4*dcda29f6SYatharth Kochar  * Redistribution and use in source and binary forms, with or without
5*dcda29f6SYatharth Kochar  * modification, are permitted provided that the following conditions are met:
6*dcda29f6SYatharth Kochar  *
7*dcda29f6SYatharth Kochar  * Redistributions of source code must retain the above copyright notice, this
8*dcda29f6SYatharth Kochar  * list of conditions and the following disclaimer.
9*dcda29f6SYatharth Kochar  *
10*dcda29f6SYatharth Kochar  * Redistributions in binary form must reproduce the above copyright notice,
11*dcda29f6SYatharth Kochar  * this list of conditions and the following disclaimer in the documentation
12*dcda29f6SYatharth Kochar  * and/or other materials provided with the distribution.
13*dcda29f6SYatharth Kochar  *
14*dcda29f6SYatharth Kochar  * Neither the name of ARM nor the names of its contributors may be used
15*dcda29f6SYatharth Kochar  * to endorse or promote products derived from this software without specific
16*dcda29f6SYatharth Kochar  * prior written permission.
17*dcda29f6SYatharth Kochar  *
18*dcda29f6SYatharth Kochar  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19*dcda29f6SYatharth Kochar  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*dcda29f6SYatharth Kochar  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*dcda29f6SYatharth Kochar  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22*dcda29f6SYatharth Kochar  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23*dcda29f6SYatharth Kochar  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24*dcda29f6SYatharth Kochar  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25*dcda29f6SYatharth Kochar  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26*dcda29f6SYatharth Kochar  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27*dcda29f6SYatharth Kochar  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28*dcda29f6SYatharth Kochar  * POSSIBILITY OF SUCH DAMAGE.
29*dcda29f6SYatharth Kochar  */
30*dcda29f6SYatharth Kochar 
31*dcda29f6SYatharth Kochar #include <plat_arm.h>
32*dcda29f6SYatharth Kochar #include "fvp_def.h"
33*dcda29f6SYatharth Kochar #include "fvp_private.h"
34*dcda29f6SYatharth Kochar 
35*dcda29f6SYatharth Kochar void bl2u_early_platform_setup(meminfo_t *mem_layout, void *plat_info)
36*dcda29f6SYatharth Kochar {
37*dcda29f6SYatharth Kochar 	arm_bl2u_early_platform_setup(mem_layout, plat_info);
38*dcda29f6SYatharth Kochar 
39*dcda29f6SYatharth Kochar 	/* Initialize the platform config for future decision making */
40*dcda29f6SYatharth Kochar 	fvp_config_setup();
41*dcda29f6SYatharth Kochar }
42