2013-10-25 09:08:21 +01:00
|
|
|
/*
|
2014-01-14 18:17:09 +00:00
|
|
|
* Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
|
2013-10-25 09:08:21 +01:00
|
|
|
*
|
2017-05-03 09:38:09 +01:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2013-10-25 09:08:21 +01:00
|
|
|
*/
|
|
|
|
|
2014-04-09 13:14:54 +01:00
|
|
|
#include <arch.h>
|
2013-10-25 09:08:21 +01:00
|
|
|
#include <arch_helpers.h>
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* Place holder function to perform any S-EL1 specific architectural setup. At
|
|
|
|
* the moment there is nothing to do.
|
|
|
|
******************************************************************************/
|
|
|
|
void bl2_arch_setup(void)
|
|
|
|
{
|
|
|
|
/* Give access to FP/SIMD registers */
|
|
|
|
write_cpacr(CPACR_EL1_FPEN(CPACR_EL1_FP_TRAP_NONE));
|
|
|
|
}
|