xref: /rk3399_ARM-atf/plat/arm/css/common/css_bl1_setup.c (revision 83a2285ec8d5e4bdbf12481b441489eed5bb6018)
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 
709d40e0eSAntonio Nino Diaz #include <common/bl_common.h>
809d40e0eSAntonio Nino Diaz #include <common/debug.h>
9*bd9344f6SAntonio Nino Diaz #include <plat/arm/common/plat_arm.h>
10*bd9344f6SAntonio Nino Diaz #include <plat/arm/soc/common/soc_css.h>
1109d40e0eSAntonio Nino Diaz #include <plat/common/platform.h>
1209d40e0eSAntonio Nino Diaz 
bl1_platform_setup(void)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