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_EXP1_BUS I2C_BUS8
25#define IPMB_EXP2_BUS I2C_BUS9
26
27#define BMC_I2C_ADDRESS 0x10
28#define SELF_I2C_ADDRESS 0x20
29#define BIC1_I2C_ADDRESS 0x20
30#define BIC2_I2C_ADDRESS 0x20
31#define MAX_IPMB_IDX 4
32
33enum {
37};
38
40
41#endif
IPMB_config pal_IPMB_config_table[]
Definition: plat_ipmb.c:19
Definition: ipmb.h:138
@ BMC_IPMB_IDX
Definition: plat_ipmb.h:34
@ EXP1_IPMB_IDX
Definition: plat_ipmb.h:40
@ EXP2_IPMB_IDX
Definition: plat_ipmb.h:42