nvidia-oem: Add USBVendorIdProductId command
This command is used by BIOS before creating SMBIOS record
type 42. BIOS gets USBDescription information from BMC.
Note:
The implementation is for USBVendorIdProductId. The subsequent
patches will be implemented for USBDescription.
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 0x30 0x01
25 05
root@gb200nvl-obmc:~# ipmitool raw 0x3c 0x30 0x02
a2 a4
root@gb200nvl-obmc:~#
Change-Id: I6a325ca3410e2ac2ab0b8c3776944d31f3cac582
Signed-off-by: Prithvi Pai <ppai@nvidia.com>
diff --git a/oem/nvidia/meson.build b/oem/nvidia/meson.build
index f22c98e..9bb504f 100644
--- a/oem/nvidia/meson.build
+++ b/oem/nvidia/meson.build
@@ -1,6 +1,9 @@
# nvidia OEM library build
-nvidia_oem_src = ['biosconfigcommands.cpp']
+nvidia_oem_src = [
+ 'biosconfigcommands.cpp',
+ 'bootstrap-credentials-oem-cmds.cpp',
+]
nvidia_oem_deps = [
boost,
@@ -13,7 +16,6 @@
stdplus_dep,
]
-
nvidia_ipmi_oem = library(
'nvidia_ipmi_oem',
nvidia_oem_src,