base: add PLDM Command numbers
Add more PLDM command numbers as table "Table 7 - PLDM Messaging
Control and Discovery Command Codes" in DSP0240 V1.2.0. These commands
will be used in pldm code as [1].
[1] https://gerrit.openbmc.org/c/openbmc/pldm/+/75970
Change-Id: Ie265a53c7e851945a6c196528c0aa9cb34c7a146
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7e76fb3..d273229 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@
1. dsp: firmware_update: Iterators for downstream device descriptors
2. platform: add PLDM Command numbers
+3. base: add PLDM Command numbers
### Changed
diff --git a/include/libpldm/base.h b/include/libpldm/base.h
index 0904803..5b31d41 100644
--- a/include/libpldm/base.h
+++ b/include/libpldm/base.h
@@ -37,7 +37,11 @@
PLDM_GET_PLDM_VERSION = 0x3,
PLDM_GET_PLDM_TYPES = 0x4,
PLDM_GET_PLDM_COMMANDS = 0x5,
+ PLDM_SELECT_PLDM_VERSION = 0x6,
+ PLDM_NEGOTIATE_TRANSFER_PARAMETERS = 0x7,
+ PLDM_MULTIPART_SEND = 0x8,
PLDM_MULTIPART_RECEIVE = 0x9,
+ PLDM_GET_MULTIPART_TRANSFER_SUPPORT = 0xa,
};
/** @brief PLDM base codes