blob: a7dffff9eff8628bc76e54b32872968c3b89f4e8 [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef PLATFORM_SP_MIN_H
8#define PLATFORM_SP_MIN_H
9
10#include <stdint.h>
Soby Mathewec8ac1c2016-05-05 14:32:05 +010011
Claus Pedersen785e66c2022-09-12 22:42:58 +000012#include <common/bl_common.h>
13
Soby Mathewec8ac1c2016-05-05 14:32:05 +010014/*******************************************************************************
15 * Mandatory SP_MIN functions
16 ******************************************************************************/
Soby Mathew73308d02018-01-09 14:36:14 +000017void 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);
Heiko Stuebner0cfd3962019-03-02 11:59:04 +010023void sp_min_warm_entrypoint(void);
Soby Mathewec8ac1c2016-05-05 14:32:05 +010024
Etienne Carrieredc0fea72017-08-09 15:48:53 +020025/* Platforms that enable SP_MIN_WITH_SECURE_FIQ shall implement this api */
26void sp_min_plat_fiq_handler(uint32_t id);
27
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000028#endif /* PLATFORM_SP_MIN_H */