20#include <sys/reboot.h>
24#define INTEL_IANA 0x000157
uint8_t status
Definition: mctp_ctrl.h:1
int pal_host_power_control(power_ctl_t ctl_type)
Definition: util_sys.c:121
int pal_get_set_add_debug_sel_mode_status(uint8_t options, uint8_t *status)
Definition: util_sys.c:151
int submit_12v_cycle_slot()
ME_MODE
Definition: util_sys.h:33
@ ME_INIT_MODE
Definition: util_sys.h:34
@ ME_NORMAL_MODE
Definition: util_sys.h:35
@ ME_RECOVERY_MODE
Definition: util_sys.h:36
void bic_cold_reset()
Definition: util_sys.c:93
uint8_t get_me_mode()
Definition: util_sys.c:300
@ BMC_INTERFACE_I3C
Definition: util_sys.h:53
@ BMC_INTERFACE_I2C
Definition: util_sys.h:52
bool is_ac_lost()
Definition: util_sys.c:65
VR_VENDOR_ID
Definition: util_sys.h:56
@ VENDOR_MPS
Definition: util_sys.h:62
@ VENDOR_RENESAS
Definition: util_sys.h:57
@ VENDOR_VISHAY
Definition: util_sys.h:60
@ VENDOR_INFINEON
Definition: util_sys.h:59
@ VENDOR_TI
Definition: util_sys.h:58
@ VENDOR_ONSEMI
Definition: util_sys.h:61
uint8_t get_system_class()
Definition: util_sys.c:146
uint8_t ISL69254_DEVICE_ID[5]
Definition: util_sys.c:44
void submit_bic_cold_reset()
Definition: util_sys.c:101
void init_me_firmware()
Definition: util_sys.c:267
FORCE_ME_RECOVERY_CMD
Definition: util_sys.h:39
@ ME_FW_RECOVERY
Definition: util_sys.h:40
@ ME_FW_RESTORE
Definition: util_sys.h:41
void pal_cold_reset_prepare()
Definition: util_sys.c:111
SYSTEM_RESET_TYPE
Definition: util_sys.h:44
@ SOC_RESET
Definition: util_sys.h:46
@ FULL_CHIP_RESET
Definition: util_sys.h:47
int pal_submit_12v_cycle_slot()
Definition: util_sys.c:136
int set_me_firmware_mode(uint8_t me_fw_mode)
Definition: util_sys.c:175
int pal_submit_bmc_cold_reset()
Definition: util_sys.c:116
void submit_bic_warm_reset()
Definition: util_sys.c:85
CC_12V_CYCLE_SLOT
Definition: util_sys.h:26
@ NOT_SUPPORT_12V_CYCLE_SLOT
Definition: util_sys.h:28
@ SLOT_ON_FAILED
Definition: util_sys.h:30
@ SUCCESS_12V_CYCLE_SLOT
Definition: util_sys.h:27
@ SLOT_OFF_FAILED
Definition: util_sys.h:29
int pal_clear_cmos()
Definition: util_sys.c:141
void set_sys_ready_pin(uint8_t ready_gpio_name)
Definition: util_sys.c:305
power_ctl_t
Definition: util_sys.h:65
@ POWER_CTL_RESET
Definition: util_sys.h:68
@ MAX_POWER_CTL_COUNT
Definition: util_sys.h:69
@ POWER_CTL_ON
Definition: util_sys.h:66
@ POWER_CTL_OFF
Definition: util_sys.h:67
bool pal_is_bmc_ready()
Definition: util_sys.c:131
void pal_warm_reset_prepare()
Definition: util_sys.c:106
uint8_t XDPE12284C_DEVICE_ID[3]
Definition: util_sys.c:45
uint8_t pal_get_bmc_interface()
Definition: util_sys.c:156
uint8_t ISL69259_DEVICE_ID[5]
Definition: util_sys.c:46
void bic_warm_reset()
Definition: util_sys.c:77
void check_ac_lost()
Definition: util_sys.c:50
bool pal_is_bmc_present()
Definition: util_sys.c:126