OpenBIC
OpenSource Bridge-IC
plat_fru.c File Reference
#include <string.h>
#include "fru.h"
#include "plat_fru.h"
#include "plat_i2c.h"
Include dependency graph for plat_fru.c:

Macros

#define VF_FRU_PORT   I2C_BUS2
 
#define VF_FRU_ADDR   (0xA0 >> 1)
 
#define VF_FRU_START   0x3800
 
#define VF_FRU_SIZE   0x0400
 

Functions

void pal_load_fru_config (void)
 

Variables

const EEPROM_CFG plat_fru_config []
 

Macro Definition Documentation

◆ VF_FRU_ADDR

#define VF_FRU_ADDR   (0xA0 >> 1)

◆ VF_FRU_PORT

#define VF_FRU_PORT   I2C_BUS2

◆ VF_FRU_SIZE

#define VF_FRU_SIZE   0x0400

◆ VF_FRU_START

#define VF_FRU_START   0x3800

Function Documentation

◆ pal_load_fru_config()

void pal_load_fru_config ( void  )

Variable Documentation

◆ plat_fru_config

const EEPROM_CFG plat_fru_config[]
Initial value:
= {
{
},
}
@ FRU_DEV_ACCESS_BYTE
Definition: fru.h:44
@ NV_ATMEL_24C128
Definition: fru.h:27
#define VF_FRU_START
Definition: plat_fru.c:25
#define VF_FRU_PORT
Definition: plat_fru.c:22
#define VF_FRU_SIZE
Definition: plat_fru.c:26
#define VF_FRU_ADDR
Definition: plat_fru.c:23
@ VF_FRU_ID
Definition: plat_fru.h:21