Martin Roth | 2b65ba0 | 2024-02-16 10:43:48 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Sven Schnelle | 7435baa | 2012-07-08 18:32:23 +0200 | [diff] [blame] | 3 | config IPMI_KCS |
Martin Roth | 595e777 | 2015-04-26 18:53:26 -0600 | [diff] [blame] | 4 | bool |
| 5 | default n |
Johnny Lin | 1bc6bf1 | 2019-08-10 20:16:17 +0800 | [diff] [blame] | 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 |
Johnny Lin | b9e8448 | 2019-12-02 19:44:04 +0800 | [diff] [blame] | 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. |
Johnny Lin | 99198b2 | 2020-04-06 20:09:21 +0800 | [diff] [blame] | 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. |
Johnny Lin | d04c06b4 | 2020-09-04 17:05:58 +0800 | [diff] [blame] | 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. |
Patrick Rudolph | 09cdeba | 2019-12-30 14:40:04 +0100 | [diff] [blame] | 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 |