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>
This commit is contained in:
committed by
Hung-Te Lin
parent
1c18f8679f
commit
09cdeba606
@@ -23,6 +23,7 @@
|
||||
#include <delay.h>
|
||||
#include <timer.h>
|
||||
#include "ipmi_kcs.h"
|
||||
#include "ipmi_supermicro_oem.h"
|
||||
#include "chip.h"
|
||||
|
||||
/* 4 bit encoding */
|
||||
@@ -167,6 +168,12 @@ static void ipmi_kcs_init(struct device *dev)
|
||||
/* Don't write tables if communication failed */
|
||||
dev->enabled = 0;
|
||||
}
|
||||
|
||||
if (!dev->enabled)
|
||||
return;
|
||||
|
||||
if (CONFIG(DRIVERS_IPMI_SUPERMICRO_OEM))
|
||||
supermicro_ipmi_oem(dev->path.pnp.port);
|
||||
}
|
||||
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
|
Reference in New Issue
Block a user