mt_boot_reason.h 259 B

1234567891011121314151617
  1. #ifndef __MT_BOOT_REASON_H__
  2. #define __MT_BOOT_REASON_H__
  3. enum boot_reason_t {
  4. BR_POWER_KEY = 0,
  5. BR_USB,
  6. BR_RTC,
  7. BR_WDT,
  8. BR_WDT_BY_PASS_PWK,
  9. BR_TOOL_BY_PASS_PWK,
  10. BR_2SEC_REBOOT,
  11. BR_UNKNOWN
  12. };
  13. extern enum boot_reason_t get_boot_reason(void);
  14. #endif