blob: abfcade90a37cc363ff916e87628208769dd5152 [file] [log] [blame]
Martin Roth2b65ba02024-02-16 10:43:48 -07001## SPDX-License-Identifier: GPL-2.0-only
2
Sven Schnelle7435baa2012-07-08 18:32:23 +02003config IPMI_KCS
Martin Roth595e7772015-04-26 18:53:26 -06004 bool
5 default n
Johnny Lin1bc6bf12019-08-10 20:16:17 +08006
7config 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 Linb9e84482019-12-02 19:44:04 +080013
14config 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 Lin99198b22020-04-06 20:09:21 +080023
24config IPMI_KCS_ROMSTAGE
25 bool
26 default n
27 depends on IPMI_KCS
28 help
29 IPMI KCS support in romstage.
30
31config 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 Lind04c06b42020-09-04 17:05:58 +080038
39config 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 Rudolph09cdeba2019-12-30 14:40:04 +010047
48config 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