OpenBIC
OpenSource Bridge-IC
plat_pldm_fw_update.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <logging/log.h>
#include "libutil.h"
#include "util_spi.h"
#include "hal_jtag.h"
#include "sensor.h"
#include "i2c-mux-tca9548.h"
#include "pex89000.h"
#include "isl69259.h"
#include "xdpe12284c.h"
#include "mp2971.h"
#include "pldm_firmware_update.h"
#include "plat_pldm_fw_update.h"
#include "plat_pldm_monitor.h"
#include "plat_gpio.h"
#include "plat_i2c.h"
#include "plat_sensor_table.h"
#include "plat_hook.h"
#include "plat_class.h"
Include dependency graph for plat_pldm_fw_update.c:

Macros

#define PLDM_PLAT_ERR_CODE_NO_POWER_ON   8
 

Functions

 LOG_MODULE_REGISTER (plat_fwupdate)
 
void load_pldmupdate_comp_config (void)
 
void clear_pending_version (uint8_t activate_method)
 

Variables

pldm_fw_update_info_t PLDMUPDATE_FW_CONFIG_TABLE []
 
uint8_t flash_sel_pin [4]
 
uint8_t current_sel_pin = 0xFF
 

Macro Definition Documentation

◆ PLDM_PLAT_ERR_CODE_NO_POWER_ON

#define PLDM_PLAT_ERR_CODE_NO_POWER_ON   8

Function Documentation

◆ clear_pending_version()

void clear_pending_version ( uint8_t  activate_method)

◆ load_pldmupdate_comp_config()

void load_pldmupdate_comp_config ( void  )

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_fwupdate  )

Variable Documentation

◆ current_sel_pin

uint8_t current_sel_pin = 0xFF

◆ flash_sel_pin

uint8_t flash_sel_pin[4]
Initial value:
= { BIC_SEL_FLASH_SW0, BIC_SEL_FLASH_SW1, BIC_SEL_FLASH_SW2,
BIC_SEL_FLASH_SW3 }

◆ PLDMUPDATE_FW_CONFIG_TABLE

pldm_fw_update_info_t PLDMUPDATE_FW_CONFIG_TABLE[]