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

Macros

#define MB_GUID_BUS   0x05
 
#define MB_GUID_ADDR   0x54
 

Functions

uint8_t get_system_guid (uint16_t *data_len, uint8_t *data)
 
uint8_t set_system_guid (const uint16_t *data_len, uint8_t *data)
 

Variables

const EEPROM_CFG guid_config []
 

Macro Definition Documentation

◆ MB_GUID_ADDR

#define MB_GUID_ADDR   0x54

◆ MB_GUID_BUS

#define MB_GUID_BUS   0x05

Function Documentation

◆ get_system_guid()

uint8_t get_system_guid ( uint16_t *  data_len,
uint8_t *  data 
)
Here is the call graph for this function:

◆ set_system_guid()

uint8_t set_system_guid ( const uint16_t *  data_len,
uint8_t *  data 
)
Here is the call graph for this function:

Variable Documentation

◆ guid_config

const EEPROM_CFG guid_config[]
Initial value:
= {
{
},
}
#define GUID_START
Definition: eeprom.h:35
#define GUID_SIZE
Definition: eeprom.h:36
@ NV_ATMEL_24C128
Definition: fru.h:27
@ GUID_ACCESS_BYTE
Definition: guid.h:31
@ MB_SYS_GUID_ID
Definition: plat_guid.h:21
#define MB_GUID_ADDR
Definition: plat_guid.c:24
#define MB_GUID_BUS
Definition: plat_guid.c:23