Update PFR event mappings in mainapp.

Updated the last panic reason, recovery reason and major/minor code
event log mappings, as per latest PFR document changes

Tested:
1. Update BIOS fw via Redfish
POST: https://<BMC_IP>/redfish/v1/UpdateService
Upload binary: <BIOS binary file>
2. Validate in redfish event logs:
   GET: https://<BMC_IP>/redfish/v1/Systems/system/LogServices/EventLog/Entries

    {
      "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
      "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog
                   /Entries/1581504982",
      "@odata.type": "#LogEntry.v1_4_0.LogEntry",
      "Created": "2020-02-12T10:56:22+00:00",
      "EntryType": "Event",
      "Id": "1581504982",
      "Message": "BIOS firmware update to version 10069-fixme
                  completed successfully.",
      "MessageArgs": [
        "BIOS",
        "10069-fixme"
      ],
      "MessageId": "OpenBMC.0.1.FirmwareUpdateCompleted",
      "Name": "System Event Log Entry",
      "Severity": "OK"
    },
    {
      "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
      "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog
                   /Entries/1581505600_2",
      "@odata.type": "#LogEntry.v1_4_0.LogEntry",
      "Created": "2020-02-12T11:06:40+00:00",
      "EntryType": "Event",
      "Id": "1581505600_2",
      "Message": "BMC firmware panic occurred due to BMC
                  update intent.",
      "MessageArgs": [
        "BMC update intent"
      ],
      "MessageId": "OpenBMC.0.1.BMCFirmwarePanicReason",
      "Name": "System Event Log Entry",
      "Severity": "Warning"
    }

Change-Id: Ic6eb10757ba7af9e610f8563a86d9a3ec2b83a4c
Signed-off-by: Chalapathi <chalapathix.venkataramashetty@intel.com>
1 file changed