xref: /rk3399_ARM-atf/plat/arm/css/common/css_bl1_setup.c (revision 82cb2c1ad9897473743f08437d0a3995bed561b9)
1c76e0d13SYatharth Kochar /*
2c76e0d13SYatharth Kochar  * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
3c76e0d13SYatharth Kochar  *
4*82cb2c1aSdp-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>
10c76e0d13SYatharth Kochar #include <soc_css.h>
11c76e0d13SYatharth Kochar 
12c76e0d13SYatharth Kochar void bl1_platform_setup(void)
13c76e0d13SYatharth Kochar {
14c76e0d13SYatharth Kochar 	arm_bl1_platform_setup();
15c76e0d13SYatharth Kochar 	/*
16c76e0d13SYatharth Kochar 	 * Do ARM CSS SoC security setup.
17c76e0d13SYatharth Kochar 	 * BL1 needs to enable normal world access to memory.
18c76e0d13SYatharth Kochar 	 */
19c76e0d13SYatharth Kochar 	soc_css_security_setup();
20c76e0d13SYatharth Kochar }
21c76e0d13SYatharth Kochar 
22