pldmtool: fix PDR display for power supply
Add a text mapping for the power supply entity.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I6663ebfd2030dc896b447a7b35592338af3b09d2
diff --git a/pldmtool/pldm_platform_cmd.cpp b/pldmtool/pldm_platform_cmd.cpp
index 0774b68..4f18a91 100644
--- a/pldmtool/pldm_platform_cmd.cpp
+++ b/pldmtool/pldm_platform_cmd.cpp
@@ -94,6 +94,7 @@
{PLDM_ENTITY_PROC, "Processor"},
{PLDM_ENTITY_MGMT_CONTROLLER, "Management Controller"},
{PLDM_ENTITY_CONNECTOR, "Connector"},
+ {PLDM_ENTITY_POWER_SUPPLY, "Power Supply"},
{11521, "System (logical)"},
};