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 BMC_USB_PORT "CDC_ACM_0"
21
22#define ADC_CALIBRATION 1
23
24#define WORKER_STACK_SIZE 4096
25#define ENABLE_MCTP_I3C
26#define ENABLE_SSIF
27#define ENABLE_SSIF_RSP_PEC
28#define ENABLE_SBMR
29#define ENABLE_NVIDIA
30#define ENABLE_DS160PT801
31#define ENABLE_RS31380R
32
33#define DISABLE_ISL28022
34#define DISABLE_PEX89000
35#define DISABLE_PCH
36#define DISABLE_ADM1278
37#define DISABLE_TPS53689
38#define DISABLE_XDPE15284
39#define DISABLE_LTC4282
40#define DISABLE_TMP431
41#define DISABLE_PMIC
42#define DISABLE_INA233
43#define DISABLE_ISL69254IRAZ_T
44#define DISABLE_MAX16550A
45#define DISABLE_XDP12284C
46#define DISABLE_RAA229621
47#define DISABLE_NCT7718W
48#define DISABLE_LTC4286
49#define DISABLE_XDPE19283B
50#define DISABLE_G788P81U
51#define DISABLE_MP2856GUT
52#define DISABLE_DDR5_POWER
53#define DISABLE_DDR5_TEMP
54#define DISABLE_ADM1272
55#define DISABLE_Q50SN120A1
56
57#define MAX_FWUPDATE_RSP_BUF_SIZE 200 // for pldm fw update max transfer size
58#define BIC_UPDATE_MAX_OFFSET 0x60000
59
60#define SSIF_TIMEOUT_MS 1000
61
62#endif