Files
arm-trusted-firmware/bl1/bl1_private.h
T
Arunachalam Ganapathy 1ac46d9527 refactor(bl1): drop ENABLE_RME check
Starting BL2 in EL3 is not tied to ENABLE_RME but to the boot flow.
In an RME-enabled boot flow, BL2 runs at EL3 and boots BL31. Therefore,
BL2_RUNS_AT_EL3 should be used to handle the transition to the next boot
image.

This change prepares the codebase for later patches that add feature
detection support for RME.

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Ic19b73f1edf5b5ccbd530c662c91e1d38a01fa36
2026-03-03 10:15:40 +00:00

33 lines
675 B
C

/*
* Copyright (c) 2013-2025, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BL1_PRIVATE_H
#define BL1_PRIVATE_H
#include <stdint.h>
#include <common/bl_common.h>
extern entry_point_info_t *bl2_ep_info;
/******************************************
* Function prototypes
*****************************************/
void bl1_arch_setup(void);
void bl1_prepare_next_image(unsigned int image_id);
u_register_t bl1_fwu_smc_handler(unsigned int smc_fid,
u_register_t x1,
u_register_t x2,
u_register_t x3,
u_register_t x4,
void *cookie,
void *handle,
unsigned int flags);
#endif /* BL1_PRIVATE_H */