summaryrefslogtreecommitdiff
path: root/src/drivers/ipmi/Kconfig
blob: 1137dcf8d544fde8ca0ab6fe387070edb08051f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
config IPMI_KCS
	bool
	default n

config IPMI_KCS_REGISTER_SPACING
	int
	default 1
	depends on IPMI_KCS
	help
	  KCS status and command register IO port address spacing

config IPMI_FRU_SINGLE_RW_SZ
	int
	default 16
	depends on IPMI_KCS
	help
	  The data size in a single IPMI FRU read/write command.
	  IPMB messages are limited to 32-bytes total. When the
	  data size is larger than this value, IPMI can complete
	  reading/writing the data over multiple commands.

config IPMI_KCS_ROMSTAGE
	bool
	default n
	depends on IPMI_KCS
	help
	  IPMI KCS support in romstage.

config BMC_KCS_BASE
	hex
	default 0xca2
	depends on IPMI_KCS
	help
	  The PNP base address of BMC KCS. It must be equal to the
	  pnp port value defined in devicetree for chip drivers/ipmi.

config IPMI_KCS_TIMEOUT_MS
	int
	default 5000
	depends on IPMI_KCS
	help
	  The time unit is millisecond for each IPMI KCS transfer.
	  IPMI spec v2.0 rev 1.1 Sec. 9.15, a five-second timeout or
	  greater is recommended.