blob: 61fb5beeddec5e4236f9a686e8d6d5fe70697f90 [file] [log] [blame]
Dan Handleybcd60ba2014-04-17 18:53:42 +01001/*
Zelalem Aweke688fbf72021-07-09 11:37:10 -05002 * Copyright (c) 2013-2021, Arm Limited and Contributors. All rights reserved.
Dan Handleybcd60ba2014-04-17 18:53:42 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Dan Handleybcd60ba2014-04-17 18:53:42 +01005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef BL1_PRIVATE_H
8#define BL1_PRIVATE_H
Dan Handleybcd60ba2014-04-17 18:53:42 +01009
Antonio Nino Diaz4b32e622018-08-16 16:52:57 +010010#include <stdint.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000011
Antonio Nino Diazb0fd0082018-12-18 13:49:46 +000012#include <common/bl_common.h>
Sandrine Bailleux467d0572014-06-24 14:02:34 +010013
Zelalem Aweke688fbf72021-07-09 11:37:10 -050014extern entry_point_info_t *bl2_ep_info;
15
Dan Handleybcd60ba2014-04-17 18:53:42 +010016/******************************************
17 * Function prototypes
18 *****************************************/
Dan Handleya17fefa2014-05-14 12:38:32 +010019void bl1_arch_setup(void);
Dan Handleybcd60ba2014-04-17 18:53:42 +010020
Yatharth Kochara65be2f2015-10-09 18:06:13 +010021void bl1_prepare_next_image(unsigned int image_id);
Zelalem Aweke688fbf72021-07-09 11:37:10 -050022void bl1_run_bl2_in_root(void);
Yatharth Kochar71c9a5e2015-10-10 19:06:53 +010023
Zelalem91d80612020-02-12 10:37:03 -060024u_register_t bl1_fwu_smc_handler(unsigned int smc_fid,
25 u_register_t x1,
26 u_register_t x2,
27 u_register_t x3,
28 u_register_t x4,
Yatharth Kochar71c9a5e2015-10-10 19:06:53 +010029 void *cookie,
30 void *handle,
31 unsigned int flags);
Antonio Nino Diazb0fd0082018-12-18 13:49:46 +000032
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000033#endif /* BL1_PRIVATE_H */