OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <sys/printk.h>
#include <logging/log.h>
#include <logging/log_ctrl.h>
#include <stdlib.h>
#include "mctp.h"
#include "mctp_ctrl.h"
#include "pldm.h"
#include "ipmi.h"
#include "sensor.h"
#include "plat_i2c.h"
#include "plat_hook.h"
#include "plat_mctp.h"
#include "plat_gpio.h"
Macros | |
#define | I2C_ADDR_BIC 0x40 |
#define | I2C_ADDR_BMC 0x20 |
#define | I2C_BUS_BMC I2C_BUS4 |
#define | MCTP_EID_BMC 0x08 |
Functions | |
LOG_MODULE_REGISTER (plat_mctp) | |
uint8_t | get_mctp_info (uint8_t dest_endpoint, mctp **mctp_inst, mctp_ext_params *ext_params) |
void | plat_mctp_init (void) |
int | load_mctp_support_types (uint8_t *type_len, uint8_t *types) |
uint8_t | plat_get_eid () |
Variables | |
uint8_t | plat_eid = MCTP_DEFAULT_ENDPOINT |
mctp_route_entry | mctp_route_tbl [] |
uint8_t | MCTP_SUPPORTED_MESSAGES_TYPES [] |
#define I2C_ADDR_BIC 0x40 |
#define I2C_ADDR_BMC 0x20 |
#define I2C_BUS_BMC I2C_BUS4 |
#define MCTP_EID_BMC 0x08 |
uint8_t get_mctp_info | ( | uint8_t | dest_endpoint, |
mctp ** | mctp_inst, | ||
mctp_ext_params * | ext_params | ||
) |
int load_mctp_support_types | ( | uint8_t * | type_len, |
uint8_t * | types | ||
) |
LOG_MODULE_REGISTER | ( | plat_mctp | ) |
uint8_t plat_get_eid | ( | ) |
void plat_mctp_init | ( | void | ) |
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
mctp_route_entry mctp_route_tbl[] |
uint8_t MCTP_SUPPORTED_MESSAGES_TYPES[] |
uint8_t plat_eid = MCTP_DEFAULT_ENDPOINT |