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
22#define IPMB_SLOT1_BIC_BUS I2C_BUS7
23#define IPMB_SLOT3_BIC_BUS I2C_BUS8
24
25// preserve for later use
26#define BMC_I2C_ADDRESS 0x10
27#define SELF_I2C_ADDRESS 0x20
28#define SLOT1_BIC_I2C_ADDRESS 0x20
29#define SLOT3_BIC_I2C_ADDRESS 0x20
30#define MAX_IPMB_IDX 3
31
32enum {
36};
37
38#endif
@ RESERVE_IPMB_IDX
Definition: plat_ipmb.h:26
@ SLOT3_BIC_IPMB_IDX
Definition: plat_ipmb.h:34
@ SLOT1_BIC_IPMB_IDX
Definition: plat_ipmb.h:33