1 /* 2 * Copyright (c) 2018-2022, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef __PLATFORM_SP_H__ 9 #define __PLATFORM_SP_H__ 10 11 #include "tfm_platform_api.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 /*! 18 * \brief Initializes the secure partition. 19 * 20 * \return Returns values as specified by the \ref psa_status_t 21 */ 22 psa_status_t platform_sp_init(void); 23 24 /*! 25 * \brief Resets the system. 26 * 27 * \return Returns values as specified by the \ref tfm_platform_err_t 28 */ 29 enum tfm_platform_err_t platform_sp_system_reset(void); 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif /* __PLATFORM_SP_H__ */ 36