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_MCTP_I3C
21#define MCTP_I3C_PEC_ENABLE 1
22
23#define ENABLE_PLDM_SENSOR
24#define MCTP_SMBUS_WRITE_MAX_RETRY 4
25#define RAA229621_MAX_CMD_LINE 1500
26#define PLDM_MSG_TIMEOUT_MS 5000
27
28#define MAX_AUX_SENSOR_NAME_LEN 42
29#define PLAT_MCTP_MSG_MAX_SIZE 64
30
31#define ENABLE_U50SU4P180PMDAFC
32#define ENABLE_BMR313
33#define ENABLE_MP2891
34#define ENABLE_RAA228238
35#define ENABLE_MPC12109
36#define ENABLE_MP29816A
37#define ENABLE_RAA228249
38#define ENABLE_EMC1413
39#define ENABLE_ADS7830
40#define ENABLE_PEX90144
41
42#define DISABLE_SENSOR_RESP_DURING_FW_UPDATE
43#define DISABLE_AST_ADC
44#define DISABLE_NVME
45#define DISABLE_MP5990
46#define DISABLE_ISL28022
47#define DISABLE_PEX89000
48#define DISABLE_PCH
49#define DISABLE_ADM1278
50#define DISABLE_TPS53689
51#define DISABLE_XDPE15284
52#define DISABLE_LTC4282
53#define DISABLE_PMIC
54#define DISABLE_INA233
55#define DISABLE_ISL69254IRAZ_T
56#define DISABLE_MAX16550A
57#define DISABLE_INA230
58#define DISABLE_XDP12284C
59#define DISABLE_RAA229621
60#define DISABLE_NCT7718W
61#define DISABLE_LTC4286
62#define DISABLE_XDPE19283B
63#define DISABLE_G788P81U
64#define DISABLE_MP2856GUT
65#define DISABLE_DDR5_POWER
66#define DISABLE_DDR5_TEMP
67#define DISABLE_ADM1272
68#define DISABLE_Q50SN120A1
69#define DISABLE_LTC2991
70#define DISABLE_SQ52205
71#define DISABLE_I3C_DIMM
72#define DISABLE_PT5161L
73#define DISABLE_LM75BD118
74#define DISABLE_TMP461
75#define DISABLE_MP2985
76#define DISABLE_M88RT51632
77#define DISABLE_BMR351
78#define DISABLE_CX7
79#define DISABLE_MAX11617
80#define DISABLE_NCT7363
81#define DISABLE_ADS112C
82#define DISABLE_HDC1080
83#define DISABLE_INA238
84#define DISABLE_NCT214
85#define DISABLE_AST_TACH
86#define DISABLE_XDP710
87#define DISABLE_ADC128D818
88
89#endif