Sven Schnelle | 7435baa | 2012-07-08 18:32:23 +0200 | [diff] [blame] | 1 | config IPMI_KCS |
Martin Roth | 595e777 | 2015-04-26 18:53:26 -0600 | [diff] [blame] | 2 | bool |
| 3 | default n |
Johnny Lin | 1bc6bf1 | 2019-08-10 20:16:17 +0800 | [diff] [blame] | 4 | |
| 5 | config IPMI_KCS_REGISTER_SPACING |
| 6 | int |
| 7 | default 1 |
| 8 | depends on IPMI_KCS |
| 9 | help |
| 10 | KCS status and command register IO port address spacing |
Johnny Lin | b9e8448 | 2019-12-02 19:44:04 +0800 | [diff] [blame] | 11 | |
| 12 | config IPMI_FRU_SINGLE_RW_SZ |
| 13 | int |
| 14 | default 16 |
| 15 | depends on IPMI_KCS |
| 16 | help |
| 17 | The data size in a single IPMI FRU read/write command. |
| 18 | IPMB messages are limited to 32-bytes total. When the |
| 19 | data size is larger than this value, IPMI can complete |
| 20 | reading/writing the data over multiple commands. |
Johnny Lin | 99198b2 | 2020-04-06 20:09:21 +0800 | [diff] [blame] | 21 | |
| 22 | config IPMI_KCS_ROMSTAGE |
| 23 | bool |
| 24 | default n |
| 25 | depends on IPMI_KCS |
| 26 | help |
| 27 | IPMI KCS support in romstage. |
| 28 | |
| 29 | config BMC_KCS_BASE |
| 30 | hex |
| 31 | default 0xca2 |
| 32 | depends on IPMI_KCS |
| 33 | help |
| 34 | The PNP base address of BMC KCS. It must be equal to the |
| 35 | pnp port value defined in devicetree for chip drivers/ipmi. |
Johnny Lin | d04c06b4 | 2020-09-04 17:05:58 +0800 | [diff] [blame] | 36 | |
| 37 | config IPMI_KCS_TIMEOUT_MS |
| 38 | int |
| 39 | default 5000 |
| 40 | depends on IPMI_KCS |
| 41 | help |
| 42 | The time unit is millisecond for each IPMI KCS transfer. |
| 43 | IPMI spec v2.0 rev 1.1 Sec. 9.15, a five-second timeout or |
| 44 | greater is recommended. |
Patrick Rudolph | 09cdeba | 2019-12-30 14:40:04 +0100 | [diff] [blame] | 45 | |
| 46 | config DRIVERS_IPMI_SUPERMICRO_OEM |
| 47 | bool "Supermicro IPMI OEM BMC support" |
| 48 | depends on IPMI_KCS |
| 49 | default n |
| 50 | help |
| 51 | Tested on X11SSH only. Different BMCs might not support these OEM |
| 52 | commands. |
| 53 | The following features are implemented: |
| 54 | * Communicates the BIOS version to the BMC |
| 55 | * Communicates the BIOS date to the BMC |