blob: f8f7bae75eef656e8ee368194662582c92401b7c [file] [log] [blame]
Summer Qinbce21132020-08-19 14:28:10 +08001/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_HAL_PLATFORM_H__
9#define __TFM_HAL_PLATFORM_H__
10
Summer Qin0eb7c912020-08-19 16:08:50 +080011#include "tfm_hal_defs.h"
12
13/**
14 * \brief This function performs the platform-specific initialization.
15 *
16 * This function is called after architecture and platform common initialization
17 * has finished during system early startup.
18 *
19 * \retval TFM_HAL_SUCCESS Init success.
20 * \retval TFM_HAL_ERROR_GENERIC Generic errors.
21 */
22enum tfm_hal_status_t tfm_hal_platform_init(void);
23
Summer Qinbce21132020-08-19 14:28:10 +080024/**
25 * \brief System reset
26 */
27void tfm_hal_system_reset(void);
28
29#endif /* __TFM_HAL_PLATFORM_H__ */