OpenBIC
OpenSource Bridge-IC
|
#include <string.h>
#include "plat_i2c.h"
#include "i2c-mux-pca954x.h"
#include "modbus_server.h"
#include <libutil.h>
#include <stdlib.h>
#include <logging/log.h>
#include "fru.h"
#include "plat_fru.h"
Macros | |
#define | AALC_FRU_START 0x0000 |
#define | AALC_FRU_SIZE 0x0400 |
#define | FRU_ADDR_MIN FRU_FB_PART_ADDR |
#define | FRU_ADDR_MAX FRU_MFR_SERIEL_ADDR |
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 | |
struct k_mutex | i2c_1_PCA9546a_mutex |
struct k_mutex | i2c_2_PCA9546a_mutex |
struct k_mutex | i2c_6_PCA9546a_mutex |
struct k_mutex | i2c_7_PCA9546a_mutex |
struct k_mutex | i2c_8_PCA9546a_mutex |
struct k_mutex | i2c_9_PCA9546a_mutex |
const EEPROM_CFG | plat_fru_config [] |
#define AALC_FRU_SIZE 0x0400 |
#define AALC_FRU_START 0x0000 |
#define FRU_ADDR_MAX FRU_MFR_SERIEL_ADDR |
#define FRU_ADDR_MIN FRU_FB_PART_ADDR |
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 | ||
) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
const EEPROM_CFG plat_fru_config[] |