aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/ipmi/Kconfig
diff options
context:
space:
mode:
authorJohnny Lin <johnny_lin@wiwynn.com>2019-12-02 19:44:04 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-12-19 17:48:30 +0000
commitb9e84483848d03e0085f5eee1c20fc3932f52e3d (patch)
treec7afd27c253ed10a8168dc0b1541b3aa1f2a420f /src/drivers/ipmi/Kconfig
parent3280b7672907cd70609f90010a653fa47b4e7c85 (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/Kconfig')
-rw-r--r--src/drivers/ipmi/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/drivers/ipmi/Kconfig b/src/drivers/ipmi/Kconfig
index 0f7152d558..37cfc0d230 100644
--- a/src/drivers/ipmi/Kconfig
+++ b/src/drivers/ipmi/Kconfig
@@ -8,3 +8,13 @@ config IPMI_KCS_REGISTER_SPACING
depends on IPMI_KCS
help
KCS status and command register IO port address spacing
+
+config IPMI_FRU_SINGLE_RW_SZ
+ int
+ default 16
+ depends on IPMI_KCS
+ help
+ The data size in a single IPMI FRU read/write command.
+ IPMB messages are limited to 32-bytes total. When the
+ data size is larger than this value, IPMI can complete
+ reading/writing the data over multiple commands.