Add in-tree nvidia-ipmi-oem provider
This patch adds nvidia-ipmi-oem. The current patch adds support
to 2 commands:
1) GET BIOS PASSWORD
2) SET BIOS PASSWORD
Tested:
1) Tested on patch
https://gerrit.openbmc.org/c/openbmc/openbmc/+/80748
Change-Id: I48599a1b85a3a614c56e7687b8646f7dfe1e7bb1
Signed-off-by: Prithvi Pai <ppai@nvidia.com>
diff --git a/oem/nvidia/oemcommands.hpp b/oem/nvidia/oemcommands.hpp
new file mode 100644
index 0000000..2aa67ee
--- /dev/null
+++ b/oem/nvidia/oemcommands.hpp
@@ -0,0 +1,15 @@
+#pragma once
+#include <cstdint>
+
+namespace ipmi
+{
+
+using Group = uint8_t;
+constexpr Group groupNvidia = 0x3C;
+
+namespace bios_password
+{
+constexpr auto cmdSetBiosPassword = 0x36;
+constexpr auto cmdGetBiosPassword = 0x37;
+} // namespace bios_password
+} // namespace ipmi