blob: 42071914941918dc27f5cce0f3680ed0119ac3b4 [file] [log] [blame]
you.chen92e4c032023-08-21 17:48:27 +08001/**
2 * @file misc.h
3 * @author you.chen
4 * @brief
5 * @version 1.0
6 * @date 2023-08-21
7 *
8 * @copyright Copyright (c) 2023
9 *
10 */
11#ifndef __LYNQ_MISC_H__
12#define __LYNQ_MISC_H__
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18/**
19 * @brief lynq_get_security_boot_flag get the flag in efuse
20 * @param enable_flag (output param, 1 for enabled)
21 * @return 0 success, -1 some error occur
22 */
23int lynq_get_security_boot_flag(int * enabled_flag);
24
25#ifdef __cplusplus
26}
27#endif
28#endif //#ifndef __LYNQ_MISC_H__