OpenBIC
OpenSource Bridge-IC
|
#include "fru.h"
#include "plat_fru.h"
#include "plat_class.h"
#include <string.h>
#include <logging/log.h>
#include "libutil.h"
#include "eeprom.h"
#include "util_sys.h"
Macros | |
#define | REG_RTC_STATUS 0x0B |
Functions | |
LOG_MODULE_REGISTER (plat_fru) | |
void | pal_load_fru_config (void) |
int | set_bios_version (EEPROM_ENTRY *entry, uint8_t block_index) |
int | get_bios_version (EEPROM_ENTRY *entry, uint8_t block_index) |
bool | access_vr_remain_cnt (EEPROM_ENTRY *entry, uint8_t comp_id, bool update_flag) |
bool | access_rtc_clr_flag (uint8_t val) |
void | handle_rtc_clr_flag () |
Variables | |
const EEPROM_CFG | plat_fru_config [] |
const EEPROM_CFG | plat_bios_version_area_config |
const EEPROM_CFG | plat_vr_remain_cnt_area_config [] |
const EEPROM_CFG | plat_rtc_clr_record_area_config |
#define REG_RTC_STATUS 0x0B |
bool access_rtc_clr_flag | ( | uint8_t | val | ) |
bool access_vr_remain_cnt | ( | EEPROM_ENTRY * | entry, |
uint8_t | comp_id, | ||
bool | update_flag | ||
) |
int get_bios_version | ( | EEPROM_ENTRY * | entry, |
uint8_t | block_index | ||
) |
void handle_rtc_clr_flag | ( | ) |
LOG_MODULE_REGISTER | ( | plat_fru | ) |
void pal_load_fru_config | ( | void | ) |
int set_bios_version | ( | EEPROM_ENTRY * | entry, |
uint8_t | block_index | ||
) |
const EEPROM_CFG plat_bios_version_area_config |
const EEPROM_CFG plat_fru_config[] |
const EEPROM_CFG plat_rtc_clr_record_area_config |
const EEPROM_CFG plat_vr_remain_cnt_area_config[] |