diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-04-05 14:41:32 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-04-26 12:41:21 +1000 |
commit | 540c07d3453c1a82dd66608bcb2cde79ea91b192 (patch) | |
tree | 6bde575a78ff7d2c900b1a25554e19627e90b44d /hw/openrisc | |
parent | 8c6fd7f341fd7e414171e09618b496de871da718 (diff) |
ipmi: provide support for FRUs
This patch provides a simple FRU support for the BMC simulator. FRUs
are loaded from a file which name is specified in the object
properties, each entry having a fixed size, also specified in the
properties. If the file is unknown or not accessible for some reason,
a unique entry of 1024 bytes is created as a default. Just enough to
start some simulation.
These commands complies with the IPMI spec : "34. FRU Inventory Device
Commands".
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
[dwg: Folded in subsequent fix to handle NULL filename]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/openrisc')
0 files changed, 0 insertions, 0 deletions