mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

This patch enables BL2 to execute at the highest exception level without any dependancy on TF BL1. This enables platforms which already have a non-TF Boot ROM to directly load and execute BL2 and subsequent BL stages without need for BL1. This is not currently possible because BL2 executes at S-EL1 and cannot jump straight to EL3. Change-Id: Ief1efca4598560b1b8c8e61fbe26d1f44e929d69 Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
24 lines
562 B
C
24 lines
562 B
C
/*
|
|
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <arch_helpers.h>
|
|
#include <assert.h>
|
|
#include <bl_common.h>
|
|
#include <debug.h>
|
|
#include <errno.h>
|
|
#include <platform_def.h>
|
|
|
|
/*
|
|
* The following platform functions are weakly defined. They
|
|
* are default implementations that allow BL2 to compile in
|
|
* absence of real definitions. The Platforms may override
|
|
* with more complex definitions.
|
|
*/
|
|
#pragma weak bl2_el3_plat_prepare_exit
|
|
|
|
void bl2_el3_plat_prepare_exit(void)
|
|
{
|
|
}
|