pldmtool: Include fwupdate in supported PLDM types
`pldmd` daemon has supported firmware update for over a year. This
commit adds the firmware update type to the list of supported PLDM
types so that it is correctly reported in the response to the
`PLDMGetTypes` command.
Change-Id: I024c122c73a77da8f74e579672b2b18f75ad764e
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/pldmtool/pldm_base_cmd.cpp b/pldmtool/pldm_base_cmd.cpp
index 2e037cc..c9bd047 100644
--- a/pldmtool/pldm_base_cmd.cpp
+++ b/pldmtool/pldm_base_cmd.cpp
@@ -24,8 +24,8 @@
std::vector<std::unique_ptr<CommandInterface>> commands;
const std::map<const char*, pldm_supported_types> pldmTypes{
- {"base", PLDM_BASE}, {"platform", PLDM_PLATFORM},
- {"bios", PLDM_BIOS}, {"fru", PLDM_FRU},
+ {"base", PLDM_BASE}, {"platform", PLDM_PLATFORM}, {"bios", PLDM_BIOS},
+ {"fru", PLDM_FRU}, {"firmware update", PLDM_FWUP},
#ifdef OEM_IBM
{"oem-ibm", PLDM_OEM},
#endif