you.chen | 92e4c03 | 2023-08-21 17:48:27 +0800 | [diff] [blame] | 1 | /**
|
| 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
|
| 15 | extern "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 | */
|
| 23 | int lynq_get_security_boot_flag(int * enabled_flag);
|
| 24 |
|
| 25 | #ifdef __cplusplus
|
| 26 | }
|
| 27 | #endif
|
| 28 | #endif //#ifndef __LYNQ_MISC_H__
|