OpenBIC
OpenSource Bridge-IC
plat_ipmb.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef PLAT_IPMB_H
18#define PLAT_IPMB_H
19
20#include "plat_i2c.h"
21#include "ipmb.h"
22
23#define IPMB_BMC_BUS I2C_BUS7
24#define IPMB_PEER_BMC_BUS I2C_BUS8
25#define IPMB_ME_BUS I2C_BUS3
26
27#define BMC_I2C_ADDRESS 0x10
28#define PEER_BMC_I2C_ADDRESS 0x10
29#define ME_I2C_ADDRESS 0x16
30#define SELF_I2C_ADDRESS 0x20
31#define MAX_IPMB_IDX 3
32
33enum {
37};
38
40#endif
IPMB_config pal_IPMB_config_table[]
Definition: plat_ipmb.c:19
Definition: ipmb.h:138
@ ME_IPMB_IDX
Definition: plat_ipmb.h:35
@ BMC_IPMB_IDX
Definition: plat_ipmb.h:34
@ PEER_BMC_IPMB_IDX
Definition: plat_ipmb.h:36