mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 03:53:31 +00:00
99ac6c769f
Move imx8 sci header file to include/firmware/imx, then we could use build macro to reuse some i.MX8 drivers for i.MX9, such as drivers/cpu/imx8_cpu.c. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Stefano Babic <sbabic@denx.de>
31 lines
993 B
C
31 lines
993 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2018 NXP
|
|
*/
|
|
|
|
#ifndef SC_MISC_API_H
|
|
#define SC_MISC_API_H
|
|
|
|
/* Defines for sc_misc_boot_status_t */
|
|
#define SC_MISC_BOOT_STATUS_SUCCESS 0U /* Success */
|
|
#define SC_MISC_BOOT_STATUS_SECURITY 1U /* Security violation */
|
|
|
|
/* Defines for sc_misc_seco_auth_cmd_t */
|
|
#define SC_MISC_SECO_AUTH_SECO_FW 0U /* SECO Firmware */
|
|
#define SC_MISC_SECO_AUTH_HDMI_TX_FW 1U /* HDMI TX Firmware */
|
|
#define SC_MISC_SECO_AUTH_HDMI_RX_FW 2U /* HDMI RX Firmware */
|
|
|
|
/* Defines for sc_misc_temp_t */
|
|
#define SC_MISC_TEMP 0U /* Temp sensor */
|
|
#define SC_MISC_TEMP_HIGH 1U /* Temp high alarm */
|
|
#define SC_MISC_TEMP_LOW 2U /* Temp low alarm */
|
|
|
|
/* Defines for sc_misc_seco_auth_cmd_t */
|
|
#define SC_MISC_AUTH_CONTAINER 0U /* Authenticate container */
|
|
#define SC_MISC_VERIFY_IMAGE 1U /* Verify image */
|
|
#define SC_MISC_REL_CONTAINER 2U /* Release container */
|
|
|
|
typedef u8 sc_misc_boot_status_t;
|
|
typedef u8 sc_misc_temp_t;
|
|
|
|
#endif /* SC_MISC_API_H */
|