bl2_arch_setup.c 607 B

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