xref: /rk3399_ARM-atf/plat/arm/css/common/css_bl1_setup.c (revision fd116b9f6c26d7fd49c7aa0cdbfb3d93871daec3)
1c76e0d13SYatharth Kochar /*
2*fd116b9fSRoberto Vargas  * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
3c76e0d13SYatharth Kochar  *
482cb2c1aSdp-arm  * SPDX-License-Identifier: BSD-3-Clause
5c76e0d13SYatharth Kochar  */
6c76e0d13SYatharth Kochar 
7c76e0d13SYatharth Kochar #include <bl_common.h>
8c76e0d13SYatharth Kochar #include <debug.h>
9c76e0d13SYatharth Kochar #include <plat_arm.h>
10*fd116b9fSRoberto Vargas #include <platform.h>
11c76e0d13SYatharth Kochar #include <soc_css.h>
12c76e0d13SYatharth Kochar 
13c76e0d13SYatharth Kochar void bl1_platform_setup(void)
14c76e0d13SYatharth Kochar {
15c76e0d13SYatharth Kochar 	arm_bl1_platform_setup();
16c76e0d13SYatharth Kochar 	/*
17c76e0d13SYatharth Kochar 	 * Do ARM CSS SoC security setup.
18c76e0d13SYatharth Kochar 	 * BL1 needs to enable normal world access to memory.
19c76e0d13SYatharth Kochar 	 */
20c76e0d13SYatharth Kochar 	soc_css_security_setup();
21c76e0d13SYatharth Kochar }
22c76e0d13SYatharth Kochar 
23