| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config IPMI_KCS |
| 4 |
bool |
| 5 |
default n |
| 6 |
|
| 7 |
config IPMI_KCS_REGISTER_SPACING |
| 8 |
int |
| 9 |
default 1 |
| 10 |
depends on IPMI_KCS |
| 11 |
help |
| 12 |
KCS status and command register IO port address spacing |
| 13 |
|
| 14 |
config IPMI_FRU_SINGLE_RW_SZ |
| 15 |
int |
| 16 |
default 16 |
| 17 |
depends on IPMI_KCS |
| 18 |
help |
| 19 |
The data size in a single IPMI FRU read/write command. |
| 20 |
IPMB messages are limited to 32-bytes total. When the |
| 21 |
data size is larger than this value, IPMI can complete |
| 22 |
reading/writing the data over multiple commands. |
| 23 |
|
| 24 |
config IPMI_KCS_ROMSTAGE |
| 25 |
bool |
| 26 |
default n |
| 27 |
depends on IPMI_KCS |
| 28 |
help |
| 29 |
IPMI KCS support in romstage. |
| 30 |
|
| 31 |
config BMC_KCS_BASE |
| 32 |
hex |
| 33 |
default 0xca2 |
| 34 |
depends on IPMI_KCS |
| 35 |
help |
| 36 |
The PNP base address of BMC KCS. It must be equal to the |
| 37 |
pnp port value defined in devicetree for chip drivers/ipmi. |
| 38 |
|
| 39 |
config IPMI_KCS_TIMEOUT_MS |
| 40 |
int |
| 41 |
default 5000 |
| 42 |
depends on IPMI_KCS |
| 43 |
help |
| 44 |
The time unit is millisecond for each IPMI KCS transfer. |
| 45 |
IPMI spec v2.0 rev 1.1 Sec. 9.15, a five-second timeout or |
| 46 |
greater is recommended. |
| 47 |
|
| 48 |
config DRIVERS_IPMI_SUPERMICRO_OEM |
| 49 |
bool "Supermicro IPMI OEM BMC support" |
| 50 |
depends on IPMI_KCS |
| 51 |
default n |
| 52 |
help |
| 53 |
Tested on X11SSH only. Different BMCs might not support these OEM |
| 54 |
commands. |
| 55 |
The following features are implemented: |
| 56 |
* Communicates the BIOS version to the BMC |
| 57 |
* Communicates the BIOS date to the BMC |