blob: 012f67887c671ca252ccadc7dbadabdccee3da04 [file] [log] [blame]
Sven Schnelle7435baa2012-07-08 18:32:23 +02001config IPMI_KCS
Martin Roth595e7772015-04-26 18:53:26 -06002 bool
3 default n
Johnny Lin1bc6bf12019-08-10 20:16:17 +08004
5config 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 Linb9e84482019-12-02 19:44:04 +080011
12config 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 Lin99198b22020-04-06 20:09:21 +080021
22config IPMI_KCS_ROMSTAGE
23 bool
24 default n
25 depends on IPMI_KCS
26 help
27 IPMI KCS support in romstage.
28
29config 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 Lind04c06b42020-09-04 17:05:58 +080036
37config 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 Rudolph09cdeba2019-12-30 14:40:04 +010045
46config 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