xref: /rk3399_ARM-atf/bl2/aarch64/bl2_arch_setup.c (revision 82cb2c1ad9897473743f08437d0a3995bed561b9)
1 /*
2  * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <arch.h>
8 #include <arch_helpers.h>
9 
10 /*******************************************************************************
11  * Place holder function to perform any S-EL1 specific architectural setup. At
12  * the moment there is nothing to do.
13  ******************************************************************************/
14 void bl2_arch_setup(void)
15 {
16 	/* Give access to FP/SIMD registers */
17 	write_cpacr(CPACR_EL1_FPEN(CPACR_EL1_FP_TRAP_NONE));
18 }
19