Add oem command "cmdSetFaultIndication"

This command is used by satellite controllers, like BIOS, to
set DIMM/FAN fault led.
The fault led-gpio mapping is configured on "WFP baseboard.json"
As whitley eacho CPU has two more DIMM channels, the command data format
will mot match with old EPS definition. It will need EPS to update this
command data format.

Tested:
    send command "ipmitool raw 0x30 0x57 0x03 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00"
    all DIMM fault leds will be off
    send command "ipmitool raw 0x30 0x57 0x03 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff 0xff 0xff"
    all DIMM fault leds will be on
    send command "ipmitool raw 0x30 0x57 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00"
    all FAN fault leds will be off
    send command "ipmitool raw 0x30 0x57 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3f"
    all FAN fault leds will be on

Change-Id: I7fa3813a8e230465e3b8c3a4958ef2084c77c01d
Signed-off-by: Zhu, Yunge <yunge.zhu@linux.intel.com>
diff --git a/include/oemcommands.hpp b/include/oemcommands.hpp
index b90b388..3dd452d 100644
--- a/include/oemcommands.hpp
+++ b/include/oemcommands.hpp
@@ -26,6 +26,7 @@
     cmdSendEmbeddedFWUpdStatus = 0x44,
     cmdSetPowerRestoreDelay = 0x54,
     cmdGetPowerRestoreDelay = 0x55,
+    cmdSetFaultIndication = 0x57,
     cmdSetOEMUser2Activation = 0x5A,
     cmdSetSpecialUserPassword = 0x5F,
     cmdSetShutdownPolicy = 0x60,
@@ -314,6 +315,40 @@
 };
 #pragma pack(pop)
 
+//
+// Fault type enumeration
+//
+enum class RemoteFaultType
+{
+    fan,         // 0
+    temperature, // 1
+    power,       // 2
+    driveslot,   // 3
+    software,    // 4
+    memory,      // 5
+    max = 6      // 6
+};
+
+// Enumeration for remote fault states as required by the HSC
+//
+enum class RemoteFaultState
+{
+    // fault indicators
+    fanLEDs,
+    cpu1DimmLeds,
+    cpu2DimmLeds,
+    cpu3DimmLeds,
+    cpu4DimmLeds,
+    maxFaultState,
+};
+
+enum class DimmFaultType
+{
+    cpu1cpu2Dimm,
+    cpu3cpu4Dimm,
+    maxFaultGroup,
+};
+
 enum class setFanProfileFlags : uint8_t
 {
     setFanProfile = 7,