summaryrefslogtreecommitdiff
path: root/src/drivers/ipmi/ocp/Kconfig
diff options
context:
space:
mode:
authorJonathan Zhang <jonzhang@meta.com>2022-10-21 18:31:54 -0700
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-11-09 00:19:17 +0000
commit830fec3fbb885a0594ae181fe013cb82b76e0765 (patch)
tree0429cc7df8be7e662236f1873ab4c1ac2a1c6bdb /src/drivers/ipmi/ocp/Kconfig
parent967a76bd811088b2a8bd7f008b2436e31ab4e5b3 (diff)
drivers/ipmi/ocp: add PCIe SEL support
Add Kconfig SOC_RAS_BMS_SEL and corresponding support for generating PCIe error SEL records and sending them to BMC. Add PCIe error definitions. This is needed for SMM, so build the ipmi kcs driver in SMM. Signed-off-by: Tim Chu <Tim.Chu@quantatw.com> Signed-off-by: Rocky Phagura <rphagura@fb.com> Signed-off-by: Jonathan Zhang <jonzhang@meta.com> Change-Id: I1ee46c8da7dbccbe1e2cc00bfe62e5df2f072d65 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68758 Reviewed-by: Christian Walter <christian.walter@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/ipmi/ocp/Kconfig')
-rw-r--r--src/drivers/ipmi/ocp/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/drivers/ipmi/ocp/Kconfig b/src/drivers/ipmi/ocp/Kconfig
index 7899e69588..c048e20efb 100644
--- a/src/drivers/ipmi/ocp/Kconfig
+++ b/src/drivers/ipmi/ocp/Kconfig
@@ -3,3 +3,17 @@ config IPMI_OCP
default n
help
This implements OCP specific IPMI command
+
+config IPMI_BMC_SEL
+ bool
+ depends on IPMI_OCP
+ default n
+ help
+ This implements OCP specific command to generate/send SEL record
+
+config RAS_SEL_VENDOR_ID
+ hex
+ depends on IPMI_BMC_SEL
+ default 0xff
+ help
+ This option specifies a vendor ID for BMC SEL messages