blob: 038a0758ecbb044fc586719f1d8debf5b525dda7 [file] [log] [blame]
Achin Gupta4f6ad662013-10-25 09:08:21 +01001/*
Dan Handleye83b0ca2014-01-14 18:17:09 +00002 * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
Achin Gupta4f6ad662013-10-25 09:08:21 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Achin Gupta4f6ad662013-10-25 09:08:21 +01005 */
6
Dan Handley2bd4ef22014-04-09 13:14:54 +01007#include <arch.h>
Achin Gupta4f6ad662013-10-25 09:08:21 +01008#include <arch_helpers.h>
Achin Gupta4f6ad662013-10-25 09:08:21 +01009
10/*******************************************************************************
11 * Place holder function to perform any S-EL1 specific architectural setup. At
12 * the moment there is nothing to do.
13 ******************************************************************************/
14void bl2_arch_setup(void)
15{
16 /* Give access to FP/SIMD registers */
17 write_cpacr(CPACR_EL1_FPEN(CPACR_EL1_FP_TRAP_NONE));
18}