drivers/ipmi: Add Supermicro OEM commands
commit09cdeba60643cb85f91b233211617e95167a64e5
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Mon, 30 Dec 2019 13:40:04 +0000 (30 14:40 +0100)
committerHung-Te Lin <hungte@chromium.org>
Fri, 25 Dec 2020 02:25:49 +0000 (25 02:25 +0000)
treecf6b2175ad401cd62f155760a7f425c718ab1f26
parent1c18f8679fd909de01959394264655a1f23892ff
drivers/ipmi: Add Supermicro OEM commands

Add a new driver for OEM commands and select it from x11-lga1151-series.

The driver communicates the BIOS version and date to the BMC using OEM
commands. The command should be supported on all X11 series mainboards,
but might work with older BMC, too.

Tested on X11SSH-TF:
The BIOS version strings are updated on boot and are visible in the
BMC web UI.

Change-Id: I51c22f83383affb70abb0efbcdc33ea925b5ff9f
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Christian Walter <christian.walter@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38002
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
src/drivers/ipmi/Kconfig
src/drivers/ipmi/Makefile.inc
src/drivers/ipmi/ipmi_kcs_ops.c
src/drivers/ipmi/ipmi_supermicro_oem.h [new file with mode: 0644]
src/drivers/ipmi/supermicro_oem.c [new file with mode: 0644]
src/mainboard/supermicro/x11-lga1151-series/Kconfig