xref: /rk3399_ARM-atf/plat/arm/css/common/css_bl1_setup.c (revision 09d40e0e08283a249e7dce0e106c07c5141f9b7e)
1c76e0d13SYatharth Kochar /*
2fd116b9fSRoberto 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 
7*09d40e0eSAntonio Nino Diaz #include <common/bl_common.h>
8*09d40e0eSAntonio Nino Diaz #include <common/debug.h>
9*09d40e0eSAntonio Nino Diaz #include <plat/common/platform.h>
10*09d40e0eSAntonio Nino Diaz 
11c76e0d13SYatharth Kochar #include <plat_arm.h>
12c76e0d13SYatharth Kochar #include <soc_css.h>
13c76e0d13SYatharth Kochar 
14c76e0d13SYatharth Kochar void bl1_platform_setup(void)
15c76e0d13SYatharth Kochar {
16c76e0d13SYatharth Kochar 	arm_bl1_platform_setup();
17c76e0d13SYatharth Kochar 	/*
18c76e0d13SYatharth Kochar 	 * Do ARM CSS SoC security setup.
19c76e0d13SYatharth Kochar 	 * BL1 needs to enable normal world access to memory.
20c76e0d13SYatharth Kochar 	 */
21c76e0d13SYatharth Kochar 	soc_css_security_setup();
22c76e0d13SYatharth Kochar }
23c76e0d13SYatharth Kochar 
24