OpenBIC
OpenSource Bridge-IC
plat_pldm_fw_update.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "pldm_firmware_update.h"
Include dependency graph for plat_pldm_fw_update.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  FIRMWARE_COMPONENT {
  COMPNT_CPLD = 1 , COMPNT_BIC , COMPNT_ME , COMPNT_BIOS ,
  COMPNT_PVCCIN , COMPNT_PVCCFA_EHV_FIVRA , COMPNT_PVCCD_HV , COMPNT_PVCCINFAON ,
  COMPNT_PVCCFA_EHV , AG_COMPNT_BIC , AG_COMPNT_OSFP_P3V3 , AG_COMPNT_CPU_P0V85_PVDD ,
  AG_COMPNT_CPU_P0V75_PVDD_CH_N , AG_COMPNT_CPU_P0V75_PVDD_CH_S , AG_COMPNT_CPU_P0V75_TRVDD_ZONEA , AG_COMPNT_CPU_P0V75_TRVDD_ZONEB ,
  AG_COMPNT_CPU_P1V1_VDDC_HBM0_2_4 , AG_COMPNT_CPU_P0V9_TRVDD_ZONEA , AG_COMPNT_CPU_P0V9_TRVDD_ZONEB , AG_COMPNT_CPU_P1V1_VDDC_HBM1_3_5 ,
  AG_COMPNT_CPU_P0V8_VDDA_PCIE , FF_COMPNT_BIC , FF_COMPNT_VR_PVDDQ_AB_ASIC , FF_COMPNT_VR_PVDDQ_CD_ASIC ,
  SD_COMPNT_BIC , SD_COMPNT_VR_PVDDCR_CPU1 , SD_COMPNT_VR_PVDD11_S3 , SD_COMPNT_VR_PVDDCR_CPU0 ,
  SD_COMPNT_X16_RETIMER , SD_COMPNT_X8_RETIMER , SD_COMPNT_BIOS , SD_COMPNT_X16_RETIMER_RECOVERY ,
  SD_COMPNT_X8_RETIMER_RECOVERY , WF_COMPNT_BIC , WF_COMPNT_VR_PVDDQ_AB_ASIC1 , WF_COMPNT_VR_PVDDQ_CD_ASIC1 ,
  WF_COMPNT_VR_PVDDQ_AB_ASIC2 , WF_COMPNT_VR_PVDDQ_CD_ASIC2 , WF_COMPNT_CXL1 , WF_COMPNT_CXL2
}
 

Functions

void load_pldmupdate_comp_config (void)
 
void clear_pending_version (uint8_t activate_method)
 
bool find_sensor_id_and_name_by_firmware_comp_id (uint8_t comp_identifier, uint8_t *sensor_id, char *sensor_name)
 
int get_aegis_vr_compnt_mapping_sensor_table_count (void)
 

Enumeration Type Documentation

◆ FIRMWARE_COMPONENT

Enumerator
COMPNT_CPLD 
COMPNT_BIC 
COMPNT_ME 
COMPNT_BIOS 
COMPNT_PVCCIN 
COMPNT_PVCCFA_EHV_FIVRA 
COMPNT_PVCCD_HV 
COMPNT_PVCCINFAON 
COMPNT_PVCCFA_EHV 
AG_COMPNT_BIC 
AG_COMPNT_OSFP_P3V3 
AG_COMPNT_CPU_P0V85_PVDD 
AG_COMPNT_CPU_P0V75_PVDD_CH_N 
AG_COMPNT_CPU_P0V75_PVDD_CH_S 
AG_COMPNT_CPU_P0V75_TRVDD_ZONEA 
AG_COMPNT_CPU_P0V75_TRVDD_ZONEB 
AG_COMPNT_CPU_P1V1_VDDC_HBM0_2_4 
AG_COMPNT_CPU_P0V9_TRVDD_ZONEA 
AG_COMPNT_CPU_P0V9_TRVDD_ZONEB 
AG_COMPNT_CPU_P1V1_VDDC_HBM1_3_5 
AG_COMPNT_CPU_P0V8_VDDA_PCIE 
FF_COMPNT_BIC 
FF_COMPNT_VR_PVDDQ_AB_ASIC 
FF_COMPNT_VR_PVDDQ_CD_ASIC 
SD_COMPNT_BIC 
SD_COMPNT_VR_PVDDCR_CPU1 
SD_COMPNT_VR_PVDD11_S3 
SD_COMPNT_VR_PVDDCR_CPU0 
SD_COMPNT_X16_RETIMER 
SD_COMPNT_X8_RETIMER 
SD_COMPNT_BIOS 
SD_COMPNT_X16_RETIMER_RECOVERY 
SD_COMPNT_X8_RETIMER_RECOVERY 
WF_COMPNT_BIC 
WF_COMPNT_VR_PVDDQ_AB_ASIC1 
WF_COMPNT_VR_PVDDQ_CD_ASIC1 
WF_COMPNT_VR_PVDDQ_AB_ASIC2 
WF_COMPNT_VR_PVDDQ_CD_ASIC2 
WF_COMPNT_CXL1 
WF_COMPNT_CXL2 

Function Documentation

◆ clear_pending_version()

void clear_pending_version ( uint8_t  activate_method)

◆ find_sensor_id_and_name_by_firmware_comp_id()

bool find_sensor_id_and_name_by_firmware_comp_id ( uint8_t  comp_identifier,
uint8_t *  sensor_id,
char *  sensor_name 
)

◆ get_aegis_vr_compnt_mapping_sensor_table_count()

int get_aegis_vr_compnt_mapping_sensor_table_count ( void  )

◆ load_pldmupdate_comp_config()

void load_pldmupdate_comp_config ( void  )