nvidia-oem: Implement GetHostInterfaceIPMIChannel
his command is used by BIOS before creating SMBIOS record
type 42. BIOS gets USBDescription information from BMC.
Note:
The implementation in this PR is for
HostInterfaceIPMIChannelNumber.
The support for other device descriptors will be added in
upcoming PRs.
Design Document for RHI:
[1] https://gerrit.openbmc.org/c/openbmc/docs/+/79327
Redfish Host Interface specification:
[2] https://www.dmtf.org/sites/default/files/standards/documents/DSP0270_1.3.0.pdf
Tested:
Tested on gb200nvl-obmc platform:
root@gb200nvl-obmc:~# ipmitool raw 0x3c 0x33
03
Change-Id: Ib2c556e1474ee057a0c28c4fee029e5df95b1419
Signed-off-by: Prithvi Pai <ppai@nvidia.com>
diff --git a/oem/nvidia/oemcommands.hpp b/oem/nvidia/oemcommands.hpp
index 5cf0a7b..d2f689e 100644
--- a/oem/nvidia/oemcommands.hpp
+++ b/oem/nvidia/oemcommands.hpp
@@ -18,6 +18,7 @@
constexpr auto cmdGetUsbVendorIdProductId = 0x30;
constexpr auto cmdGetUsbSerialNumber = 0x31;
constexpr auto cmdGetRedfishHostName = 0x32;
+constexpr auto cmdGetIpmiChannelRfHi = 0x33;
} // namespace bootstrap_credentials_oem
namespace bios_password