OpenBIC
OpenSource Bridge-IC
|
#include <string.h>
#include "plat_i2c.h"
#include <libutil.h>
#include <stdlib.h>
#include <logging/log.h>
#include "fru.h"
#include "plat_fru.h"
Macros | |
#define | AEGIS_FRU_START 0x0000 |
#define | AEGIS_FRU_SIZE 0x0400 |
Functions | |
LOG_MODULE_REGISTER (plat_fru) | |
void | pal_load_fru_config (void) |
bool | plat_eeprom_write (uint32_t offset, uint8_t *data, uint16_t data_len) |
bool | plat_eeprom_read (uint32_t offset, uint8_t *data, uint16_t data_len) |
Variables | |
const EEPROM_CFG | plat_fru_config [] |
#define AEGIS_FRU_SIZE 0x0400 |
#define AEGIS_FRU_START 0x0000 |
LOG_MODULE_REGISTER | ( | plat_fru | ) |
void pal_load_fru_config | ( | void | ) |
bool plat_eeprom_read | ( | uint32_t | offset, |
uint8_t * | data, | ||
uint16_t | data_len | ||
) |
bool plat_eeprom_write | ( | uint32_t | offset, |
uint8_t * | data, | ||
uint16_t | data_len | ||
) |
const EEPROM_CFG plat_fru_config[] |