|
OpenBIC
OpenSource Bridge-IC
|
#include "fru.h"#include "plat_fru.h"#include "libutil.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <logging/log.h>
Functions | |
| LOG_MODULE_REGISTER (dev_fru) | |
| bool | find_FRU_ID (uint8_t FRUID, uint8_t *fru_id) |
| uint8_t | get_FRU_access (uint8_t FRUID) |
| uint16_t | find_FRU_size (uint8_t FRUID) |
| uint8_t | FRU_read (EEPROM_ENTRY *entry) |
| uint8_t | FRU_write (EEPROM_ENTRY *entry) |
| __weak void | pal_load_fru_config (void) |
| void | FRU_init (void) |
| __weak bool | write_psb_inform (EEPROM_ENTRY *entry) |
Variables | |
| EEPROM_CFG | fru_config [FRU_CFG_NUM] |
| bool find_FRU_ID | ( | uint8_t | FRUID, |
| uint8_t * | fru_id | ||
| ) |
| uint16_t find_FRU_size | ( | uint8_t | FRUID | ) |

| void FRU_init | ( | void | ) |

| uint8_t FRU_read | ( | EEPROM_ENTRY * | entry | ) |

| uint8_t FRU_write | ( | EEPROM_ENTRY * | entry | ) |

| uint8_t get_FRU_access | ( | uint8_t | FRUID | ) |

| LOG_MODULE_REGISTER | ( | dev_fru | ) |
| __weak void pal_load_fru_config | ( | void | ) |
| __weak bool write_psb_inform | ( | EEPROM_ENTRY * | entry | ) |
| EEPROM_CFG fru_config[FRU_CFG_NUM] |