blob: 8f6a82d90896c187ab9506b190b2dc775a637f10 [file] [log] [blame]
Soby Mathewec8ac1c2016-05-05 14:32:05 +01001/*
Dimitris Papastamos52323b02017-06-07 13:45:41 +01002 * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
Soby Mathewec8ac1c2016-05-05 14:32:05 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Soby Mathewec8ac1c2016-05-05 14:32:05 +01005 */
6
7#ifndef __PLATFORM_SP_MIN_H__
8#define __PLATFORM_SP_MIN_H__
9
10/*******************************************************************************
11 * Mandatory SP_MIN functions
12 ******************************************************************************/
Soby Mathew73308d02018-01-09 14:36:14 +000013#if !ERROR_DEPRECATED
Yatharth Kochar1c16a4c2016-06-30 14:50:58 +010014void sp_min_early_platform_setup(void *from_bl2,
15 void *plat_params_from_bl2);
Soby Mathew73308d02018-01-09 14:36:14 +000016#endif
17void sp_min_early_platform_setup2(u_register_t arg0, u_register_t arg1,
18 u_register_t arg2, u_register_t arg3);
Soby Mathewec8ac1c2016-05-05 14:32:05 +010019void sp_min_platform_setup(void);
Dimitris Papastamos52323b02017-06-07 13:45:41 +010020void sp_min_plat_runtime_setup(void);
21void sp_min_plat_arch_setup(void);
Soby Mathewec8ac1c2016-05-05 14:32:05 +010022entry_point_info_t *sp_min_plat_get_bl33_ep_info(void);
23
Etienne Carrieredc0fea72017-08-09 15:48:53 +020024/* Platforms that enable SP_MIN_WITH_SECURE_FIQ shall implement this api */
25void sp_min_plat_fiq_handler(uint32_t id);
26
Soby Mathewec8ac1c2016-05-05 14:32:05 +010027#endif /* __PLATFORM_SP_MIN_H__ */