From 1343bc394bb265157b2ea2d02c69cf136139a4b5 Mon Sep 17 00:00:00 2001 From: Tim Chu Date: Tue, 28 Jul 2020 04:27:35 -0700 Subject: drivers/ipmi/ocp: Add function to support OCP specific ipmi command Add driver for OCP specific ipmi commands. With this driver, OCP specific ipmi command can be used after implementing functions here. TEST=Build with CB:42242 on Delta Lake, select Kconfig option: IPMI_OCP and add device in devicetree to open this function. Use ipmi-util in OpenBMC to dump raw data and check if this function work. Signed-off-by: Tim Chu Change-Id: I2efa85978ec4ad3d75f2bd93b4139ef8059127ed Reviewed-on: https://review.coreboot.org/c/coreboot/+/43996 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/drivers/ipmi/ocp/Makefile.inc | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/drivers/ipmi/ocp/Makefile.inc (limited to 'src/drivers/ipmi/ocp/Makefile.inc') diff --git a/src/drivers/ipmi/ocp/Makefile.inc b/src/drivers/ipmi/ocp/Makefile.inc new file mode 100644 index 0000000000..8291f82677 --- /dev/null +++ b/src/drivers/ipmi/ocp/Makefile.inc @@ -0,0 +1 @@ +ramstage-$(CONFIG_IPMI_OCP) += ipmi_ocp.c -- cgit v1.2.3