Add support for some more entity types

We support an OEM command so that the system can query the BMC for an
Entity name given the Entity ID and Entity Instance.
This patch adds support for some more entity types.

Change-Id: Id8b8019122044e11f195184ad8c5612dd60f044c
Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
diff --git a/README.md b/README.md
index ceb1d95..c13e717 100644
--- a/README.md
+++ b/README.md
@@ -158,6 +158,7 @@
 Response
 
 |Byte(s) |Value |Data
+|--------|------|----
 |0x00|0x06|Subcommand
 |0x01|Entity name length (say N)|Entity name length
 |0x02...0x02 + N - 1|Entity name|Entity name without null terminator
diff --git a/entity_name.cpp b/entity_name.cpp
index 6d184c3..441220d 100644
--- a/entity_name.cpp
+++ b/entity_name.cpp
@@ -59,8 +59,11 @@
 static const std::map<uint8_t, std::string> entityIdToName{
     {0x03, "cpu"},
     {0x04, "storage_device"},
+    {0x06, "system_management_module"},
+    {0x08, "memory_module"},
     {0x0B, "add_in_card"},
-    {0x20, "memory_module"}};
+    {0x17, "system_chassis"},
+    {0x20, "memory_device"}};
 
 Json parse_config()
 {