It's necessary to run IPMI commands in romstage for writing error SEL such as memory initialization error SEL, and also for other usages such as starting FRB2 timer, OEM commands, etc. Add CONFIG_BMC_KCS_BASE for BMC KCS port address that can be used across romstage and ramstage. Change-Id: Ie3198965670454b123e570f9056673fdf515f52b Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40234 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
36 lines
762 B
Plaintext
36 lines
762 B
Plaintext
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.
|