diff options
author | Johnny Lin <johnny_lin@wiwynn.com> | 2019-12-02 19:44:04 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-12-19 17:48:30 +0000 |
commit | b9e84483848d03e0085f5eee1c20fc3932f52e3d (patch) | |
tree | c7afd27c253ed10a8168dc0b1541b3aa1f2a420f /src/drivers/ipmi/ipmi_kcs.h | |
parent | 3280b7672907cd70609f90010a653fa47b4e7c85 (diff) |
drivers/ipmi: Add IPMI Read FRU function
Implemented according to IPMI "Platform Management
FRU Information Storage Definition" specification
v1.0 for reading FRU data Product Info Area and
Board Info Area.
SMBIOS data can be updated with the FRU data.
Tested on OCP Mono Lake.
Change-Id: Id6353f5ce3f7ddd3bb161b91364b3cf276d020b8
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37444
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
(cherry picked from commit 8ac46b937c80822706c9d6c70ce7bbe61eb04f72)
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37095
Diffstat (limited to 'src/drivers/ipmi/ipmi_kcs.h')
-rw-r--r-- | src/drivers/ipmi/ipmi_kcs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ipmi/ipmi_kcs.h b/src/drivers/ipmi/ipmi_kcs.h index b3775219c3..9a04377a0a 100644 --- a/src/drivers/ipmi/ipmi_kcs.h +++ b/src/drivers/ipmi/ipmi_kcs.h @@ -31,6 +31,7 @@ #define IPMI_NETFN_FIRMWARE 0x08 #define IPMI_NETFN_STORAGE 0x0a +#define IPMI_READ_FRU_DATA 0x11 #define IPMI_NETFN_TRANSPORT 0x0c #define IPMI_CMD_ACPI_POWERON 0x06 |