OpenBIC
OpenSource Bridge-IC
|
#include "plat_ipmi.h"
#include <stdio.h>
#include <stdlib.h>
#include <logging/log.h>
#include <drivers/flash.h>
#include "libutil.h"
#include "ipmi.h"
#include "eeprom.h"
#include "hal_gpio.h"
#include "oem_1s_handler.h"
#include "plat_fru.h"
#include "plat_class.h"
#include "plat_spi.h"
#include "util_spi.h"
Macros | |
#define | WORK_AROUND_BIOS_DEBUG_PIN_IDX 62 |
#define | WORK_AROUND_BIOS_DEBUG_PIN_IDX_REAL 23 |
#define | VIRTUAL_E1S_PRSNT_PIN_IDX 63 |
#define | VIRTUAL_E1S_PRSNT_PIN_IDX_REAL 55 |
#define | VIRTUAL_RETIMER_PRSNT_PIN_IDX 64 |
#define | VIRTUAL_RETIMER_PRSNT_PIN_IDX_REAL 58 |
#define | VIRTUAL_SATMC_READY_PIN_IDX 65 |
#define | VIRTUAL_SATMC_READY_PIN_IDX_REAL 59 |
#define | CMET_INFO_OFFSET_1 0xc0000 |
#define | CMET_INFO_OFFSET_2 0xd0000 |
#define | CLEAR_BYTE_START_OFFSET_NUM 2 |
#define | CLEAR_BYTE_TOTAL_NUM 4 |
Functions | |
LOG_MODULE_REGISTER (plat_ipmi) | |
bool | pal_request_msg_to_BIC_from_HOST (uint8_t netfn, uint8_t cmd) |
bool | pal_immediate_respond_from_HOST (uint8_t netfn, uint8_t cmd) |
int | pal_record_bios_fw_version (uint8_t *buf, uint8_t size) |
void | OEM_1S_GET_CARD_TYPE (ipmi_msg *msg) |
void | OEM_1S_GET_BIOS_VERSION (ipmi_msg *msg) |
void | OEM_1S_GET_GPIO (ipmi_msg *msg) |
uint8_t | gpio_idx_exchange (ipmi_msg *msg) |
void | OEM_1S_CLEAR_CMET (ipmi_msg *msg) |
#define CLEAR_BYTE_START_OFFSET_NUM 2 |
#define CLEAR_BYTE_TOTAL_NUM 4 |
#define CMET_INFO_OFFSET_1 0xc0000 |
#define CMET_INFO_OFFSET_2 0xd0000 |
#define VIRTUAL_E1S_PRSNT_PIN_IDX 63 |
#define VIRTUAL_E1S_PRSNT_PIN_IDX_REAL 55 |
#define VIRTUAL_RETIMER_PRSNT_PIN_IDX 64 |
#define VIRTUAL_RETIMER_PRSNT_PIN_IDX_REAL 58 |
#define VIRTUAL_SATMC_READY_PIN_IDX 65 |
#define VIRTUAL_SATMC_READY_PIN_IDX_REAL 59 |
#define WORK_AROUND_BIOS_DEBUG_PIN_IDX 62 |
#define WORK_AROUND_BIOS_DEBUG_PIN_IDX_REAL 23 |
uint8_t gpio_idx_exchange | ( | ipmi_msg * | msg | ) |
LOG_MODULE_REGISTER | ( | plat_ipmi | ) |
void OEM_1S_CLEAR_CMET | ( | ipmi_msg * | msg | ) |
void OEM_1S_GET_BIOS_VERSION | ( | ipmi_msg * | msg | ) |
void OEM_1S_GET_CARD_TYPE | ( | ipmi_msg * | msg | ) |
void OEM_1S_GET_GPIO | ( | ipmi_msg * | msg | ) |
bool pal_immediate_respond_from_HOST | ( | uint8_t | netfn, |
uint8_t | cmd | ||
) |
int pal_record_bios_fw_version | ( | uint8_t * | buf, |
uint8_t | size | ||
) |
bool pal_request_msg_to_BIC_from_HOST | ( | uint8_t | netfn, |
uint8_t | cmd | ||
) |