api.h 966 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2018 NXP
  4. */
  5. #ifndef SC_MISC_API_H
  6. #define SC_MISC_API_H
  7. /* Defines for sc_misc_boot_status_t */
  8. #define SC_MISC_BOOT_STATUS_SUCCESS 0U /* Success */
  9. #define SC_MISC_BOOT_STATUS_SECURITY 1U /* Security violation */
  10. /* Defines for sc_misc_seco_auth_cmd_t */
  11. #define SC_MISC_SECO_AUTH_SECO_FW 0U /* SECO Firmware */
  12. #define SC_MISC_SECO_AUTH_HDMI_TX_FW 1U /* HDMI TX Firmware */
  13. #define SC_MISC_SECO_AUTH_HDMI_RX_FW 2U /* HDMI RX Firmware */
  14. /* Defines for sc_misc_temp_t */
  15. #define SC_MISC_TEMP 0U /* Temp sensor */
  16. #define SC_MISC_TEMP_HIGH 1U /* Temp high alarm */
  17. #define SC_MISC_TEMP_LOW 2U /* Temp low alarm */
  18. /* Defines for sc_misc_seco_auth_cmd_t */
  19. #define SC_MISC_AUTH_CONTAINER 0U /* Authenticate container */
  20. #define SC_MISC_VERIFY_IMAGE 1U /* Verify image */
  21. #define SC_MISC_REL_CONTAINER 2U /* Release container */
  22. typedef u8 sc_misc_boot_status_t;
  23. #endif /* SC_MISC_API_H */