Add EMR support

EMR was not accounted for in the main cpuinfoapp check, nor in the check
for SST control support.

Tested: Verified Model and ProtectedIdentificationNumber were populated
under /redfish/v1/Systems/system/Processors/cpu0 for an EMR CPU.

Change-Id: I28bccc0f038384fb364245fa62eb4dae466fc795
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
diff --git a/src/sst_mailbox.cpp b/src/sst_mailbox.cpp
index 7b8c156..0c35d55 100644
--- a/src/sst_mailbox.cpp
+++ b/src/sst_mailbox.cpp
@@ -411,7 +411,14 @@
 
     bool supportsControl() override
     {
-        return model == spr;
+        switch (model)
+        {
+            case spr:
+            case emr:
+                return true;
+            default:
+                return false;
+        }
     }
 
     unsigned int currentLevel() override
@@ -566,12 +573,16 @@
                                                    CPUModel model)
 {
     DEBUG_PRINT << "createMailbox\n";
-    if (model == icx || model == icxd || model == spr || model == emr)
+    switch (model)
     {
-        return std::make_unique<SSTMailbox>(address, model);
+        case icx:
+        case icxd:
+        case spr:
+        case emr:
+            return std::make_unique<SSTMailbox>(address, model);
+        default:
+            return nullptr;
     }
-
-    return nullptr;
 }
 
 SSTProviderRegistration(createMailbox);