blob: 54052f7d10136ab9124849c9ed75ec04fb491f3f [file] [log] [blame]
Achin Gupta4f6ad662013-10-25 09:08:21 +01001/*
Roberto Vargas05712702018-02-12 12:36:17 +00002 * Copyright (c) 2013-2018, 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>
Roberto Vargas05712702018-02-12 12:36:17 +00009#include "../bl2_private.h"
Achin Gupta4f6ad662013-10-25 09:08:21 +010010
11/*******************************************************************************
12 * Place holder function to perform any S-EL1 specific architectural setup. At
13 * the moment there is nothing to do.
14 ******************************************************************************/
15void bl2_arch_setup(void)
16{
17 /* Give access to FP/SIMD registers */
18 write_cpacr(CPACR_EL1_FPEN(CPACR_EL1_FP_TRAP_NONE));
19}