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 "sensor.h"
#include "pldm_firmware_update.h"
#include "plat_pldm_fw_update.h"
#include "plat_ipmi.h"
#include "plat_gpio.h"
#include "plat_i2c.h"
#include "plat_sensor_table.h"
#include "plat_hook.h"
#include "plat_class.h"
#include "lattice.h"
Include dependency graph for plat_pldm_fw_update.c:

Macros

#define CPLD_BUS_13_ADDR   0x40
 
#define CPLD_USER_CODE_LENGTH   4
 

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 []
 

Macro Definition Documentation

◆ CPLD_BUS_13_ADDR

#define CPLD_BUS_13_ADDR   0x40

◆ CPLD_USER_CODE_LENGTH

#define CPLD_USER_CODE_LENGTH   4

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

◆ PLDMUPDATE_FW_CONFIG_TABLE

pldm_fw_update_info_t PLDMUPDATE_FW_CONFIG_TABLE[]