diff options
author | Johnny Lin <johnny_lin@wiwynn.com> | 2020-04-06 20:09:21 +0800 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2020-07-04 11:14:44 +0000 |
commit | 99198b2f7624f2293c849c6b7a96e10c84129555 (patch) | |
tree | b52e2f1032e0d055da61bef7a711575ef0717730 /src/drivers/ipmi/Kconfig | |
parent | f861f999678d1993d06c7462d4aa8d7d3e0d45dd (diff) |
drivers/ipmi: Add IPMI KCS support in romstage
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>
Diffstat (limited to 'src/drivers/ipmi/Kconfig')
-rw-r--r-- | src/drivers/ipmi/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/ipmi/Kconfig b/src/drivers/ipmi/Kconfig index 37cfc0d230..44ed17e548 100644 --- a/src/drivers/ipmi/Kconfig +++ b/src/drivers/ipmi/Kconfig @@ -18,3 +18,18 @@ config IPMI_FRU_SINGLE_RW_SZ 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. |