OpenBIC
OpenSource Bridge-IC
plat_def.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_DEF_H
18#define PLAT_DEF_H
19
20#define ENABLE_PLDM
21#define ENABLE_MCTP_I3C
22#define ENABLE_PLDM_SENSOR
23#define ENABLE_PLATFORM_PROVIDES_PLDM_SENSOR_STACKS
24#define ENABLE_APML
25#define ENABLE_EVENT_TO_BMC
26#define CONFIG_JTAG_HW_MODE
27
28#define DISABLE_ISL69259
29#define DISABLE_MP5990
30#define DISABLE_ISL28022
31#define DISABLE_PEX89000
32#define DISABLE_PCH
33#define DISABLE_ADM1278
34#define DISABLE_XDPE15284
35#define DISABLE_LTC4282
36#define DISABLE_TMP431
37#define DISABLE_PMIC
38#define DISABLE_ISL69254IRAZ_T
39#define DISABLE_MAX16550A
40#define DISABLE_INA230
41#define DISABLE_XDP12284C
42#define DISABLE_NCT7718W
43#define DISABLE_LTC4286
44#define DISABLE_G788P81U
45#define DISABLE_DDR5_POWER
46#define DISABLE_DDR5_TEMP
47#define DISABLE_ADM1272
48#define DISABLE_Q50SN120A1
49#define DISABLE_MP2971
50#define DISABLE_LTC2991
51#define DISABLE_EMC1412
52#define DISABLE_LM75BD118
53#define DISABLE_TMP461
54#define DISABLE_MP2985
55#define DISABLE_M88RT51632
56#define DISABLE_BMR351
57#define DISABLE_CX7
58#define DISABLE_MAX11617
59#define DISABLE_NCT7363
60#define DISABLE_ADS112C
61#define DISABLE_HDC1080
62#define DISABLE_INA238
63#define DISABLE_NCT214
64#define DISABLE_AST_TACH
65#define DISABLE_XDP710
66#define DISABLE_ADC128D818
67
68#define ENABLE_RTQ6056
69#define ENABLE_BCM85658
70
71#define HOST_KCS_PORT kcs3
72#define BMC_USB_PORT "CDC_ACM_0"
73#define MCTP_I3C_PEC_ENABLE 1
74
75#define BIC_UPDATE_MAX_OFFSET 0xC0000
76#define WORKER_STACK_SIZE 2048
77
78#define PLDM_MSG_TIMEOUT_MS 5000
79#define PLDM_MSG_MAX_RETRY 20
80
81#endif