1 /* 2 * Copyright (c) 2013-2019, 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 "../bl1_private.h" 10 11 /******************************************************************************* 12 * Function that does the first bit of architectural setup that affects 13 * execution in the non-secure address space. 14 ******************************************************************************/ 15 void bl1_arch_setup(void) 16 { 17 /* Set the next EL to be AArch64 */ 18 write_scr_el3(read_scr_el3() | SCR_RW_BIT); 19 } 20