|
OpenBIC
OpenSource Bridge-IC
|
#include <string.h>#include <logging/log.h>#include <sys/crc.h>#include "fru.h"#include "hal_gpio.h"#include "power_status.h"#include "plat_fru.h"#include "plat_gpio.h"#include "libutil.h"
Macros | |
| #define | BSD_IMG_SIZE_OFST 40 |
| #define | MAX_BSD_IMG_SIZE 1024 |
Functions | |
| LOG_MODULE_REGISTER (plat_fru) | |
| void | pal_load_fru_config (void) |
| int | set_bios_version (EEPROM_ENTRY *entry, uint8_t block_index) |
| int | get_bios_version (EEPROM_ENTRY *entry, uint8_t block_index) |
| bool | write_bsd_version () |
| uint32_t | read_bsd_version () |
Variables | |
| const EEPROM_CFG | plat_fru_config [] |
| const EEPROM_CFG | plat_bios_version_area_config |
| const EEPROM_CFG | plat_bsd_area_config |
| const EEPROM_CFG | plat_bsd_version_area_config |
| #define BSD_IMG_SIZE_OFST 40 |
| #define MAX_BSD_IMG_SIZE 1024 |
| int get_bios_version | ( | EEPROM_ENTRY * | entry, |
| uint8_t | block_index | ||
| ) |

| LOG_MODULE_REGISTER | ( | plat_fru | ) |
| void pal_load_fru_config | ( | void | ) |
| uint32_t read_bsd_version | ( | ) |

| int set_bios_version | ( | EEPROM_ENTRY * | entry, |
| uint8_t | block_index | ||
| ) |

| bool write_bsd_version | ( | ) |

| const EEPROM_CFG plat_bios_version_area_config |
| const EEPROM_CFG plat_bsd_area_config |
| const EEPROM_CFG plat_bsd_version_area_config |
| const EEPROM_CFG plat_fru_config[] |