]> git.ipfire.org Git - thirdparty/u-boot.git/blob - include/firmware/imx/sci/svc/misc/api.h
imx: move imx8 sci header file to include/firmware/imx
[thirdparty/u-boot.git] / include / firmware / imx / sci / svc / misc / api.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright 2018 NXP
4 */
5
6 #ifndef SC_MISC_API_H
7 #define SC_MISC_API_H
8
9 /* Defines for sc_misc_boot_status_t */
10 #define SC_MISC_BOOT_STATUS_SUCCESS 0U /* Success */
11 #define SC_MISC_BOOT_STATUS_SECURITY 1U /* Security violation */
12
13 /* Defines for sc_misc_seco_auth_cmd_t */
14 #define SC_MISC_SECO_AUTH_SECO_FW 0U /* SECO Firmware */
15 #define SC_MISC_SECO_AUTH_HDMI_TX_FW 1U /* HDMI TX Firmware */
16 #define SC_MISC_SECO_AUTH_HDMI_RX_FW 2U /* HDMI RX Firmware */
17
18 /* Defines for sc_misc_temp_t */
19 #define SC_MISC_TEMP 0U /* Temp sensor */
20 #define SC_MISC_TEMP_HIGH 1U /* Temp high alarm */
21 #define SC_MISC_TEMP_LOW 2U /* Temp low alarm */
22
23 /* Defines for sc_misc_seco_auth_cmd_t */
24 #define SC_MISC_AUTH_CONTAINER 0U /* Authenticate container */
25 #define SC_MISC_VERIFY_IMAGE 1U /* Verify image */
26 #define SC_MISC_REL_CONTAINER 2U /* Release container */
27
28 typedef u8 sc_misc_boot_status_t;
29 typedef u8 sc_misc_temp_t;
30
31 #endif /* SC_MISC_API_H */