blob: e119ba72773b3591cdd9d82e8e82b82c29afd16e [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);
20void bl1_arch_next_el_setup(void);
Dan Handleybcd60ba2014-04-17 18:53:42 +010021
Yatharth Kochara65be2f2015-10-09 18:06:13 +010022void bl1_prepare_next_image(unsigned int image_id);
Zelalem Aweke688fbf72021-07-09 11:37:10 -050023void bl1_run_bl2_in_root(void);
Yatharth Kochar71c9a5e2015-10-10 19:06:53 +010024
Zelalem91d80612020-02-12 10:37:03 -060025u_register_t bl1_fwu_smc_handler(unsigned int smc_fid,
26 u_register_t x1,
27 u_register_t x2,
28 u_register_t x3,
29 u_register_t x4,
Yatharth Kochar71c9a5e2015-10-10 19:06:53 +010030 void *cookie,
31 void *handle,
32 unsigned int flags);
Antonio Nino Diazb0fd0082018-12-18 13:49:46 +000033
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000034#endif /* BL1_PRIVATE_H */