OpenBIC
OpenSource Bridge-IC
plat_fru.h File Reference
#include "eeprom.h"
Include dependency graph for plat_fru.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FRU_CFG_NUM   MAX_FRU_ID
 
#define MB_FRU_PORT   0x01
 
#define MB_FRU_ADDR   0x50
 
#define IOM_FRU_PORT   0x07
 
#define IOM_FRU_ADDR   0x50
 
#define BIOS_FW_VERSION_START   0x0A00
 
#define BIOS_FW_VERSION_MAX_SIZE   34
 

Enumerations

enum  { MB_FRU_ID , IOM_FRU_ID , MAX_FRU_ID }
 

Functions

bool get_bios_version_area_config (EEPROM_CFG *config)
 
int set_bios_version (EEPROM_ENTRY *entry)
 
int get_bios_version (EEPROM_ENTRY *entry)
 

Macro Definition Documentation

◆ BIOS_FW_VERSION_MAX_SIZE

#define BIOS_FW_VERSION_MAX_SIZE   34

◆ BIOS_FW_VERSION_START

#define BIOS_FW_VERSION_START   0x0A00

◆ FRU_CFG_NUM

#define FRU_CFG_NUM   MAX_FRU_ID

◆ IOM_FRU_ADDR

#define IOM_FRU_ADDR   0x50

◆ IOM_FRU_PORT

#define IOM_FRU_PORT   0x07

◆ MB_FRU_ADDR

#define MB_FRU_ADDR   0x50

◆ MB_FRU_PORT

#define MB_FRU_PORT   0x01

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MB_FRU_ID 
IOM_FRU_ID 
MAX_FRU_ID 

Function Documentation

◆ get_bios_version()

int get_bios_version ( EEPROM_ENTRY entry)
Here is the call graph for this function:

◆ get_bios_version_area_config()

bool get_bios_version_area_config ( EEPROM_CFG config)

◆ set_bios_version()

int set_bios_version ( EEPROM_ENTRY entry)
Here is the call graph for this function: