xref: /rk3399_ARM-atf/bl2/aarch64/bl2_arch_setup.c (revision 3dbbbca29e3c42a6f9976878f27e1f1fd75b5c8e)
1 /*
2  * Copyright (c) 2013-2018, 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 #include "../bl2_private.h"
10 
11 /*******************************************************************************
12  * Place holder function to perform any S-EL1 specific architectural setup. At
13  * the moment there is nothing to do.
14  ******************************************************************************/
15 void bl2_arch_setup(void)
16 {
17 	/* Give access to FP/SIMD registers */
18 	write_cpacr(CPACR_EL1_FPEN(CPACR_EL1_FP_TRAP_NONE));
19 }
20