blob: 107c8e29a76288efd5adad36ec74ae011205c642 [file] [log] [blame]
Christian Geddes7f9523c2021-08-03 13:44:38 -05001#ifndef OEM_IBM_STATE_SETS_H
2#define OEM_IBM_STATE_SETS_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/** @brief IBM OEM State Set IDs */
9enum ibm_oem_pldm_state_set_ids {
10 PLDM_OEM_IBM_FIRMWARE_UPDATE_STATE = 32768,
11 PLDM_OEM_IBM_BOOT_STATE = 32769,
12 PLDM_OEM_IBM_VERIFICATION_STATE = 32770,
13 PLDM_OEM_IBM_SYSTEM_POWER_STATE = 32771,
Christian Geddes42eaf9f2021-08-03 13:52:20 -050014 PLDM_OEM_IBM_SBE_MAINTENANCE_STATE = 32772,
Christian Geddes7f9523c2021-08-03 13:44:38 -050015};
16
17enum ibm_oem_pldm_state_set_firmware_update_state_values {
18 START = 0x1,
19 END = 0x2,
20 FAIL = 0x3,
21 ABORT = 0x4,
22 ACCEPT = 0x5,
23 REJECT = 0x6,
24};
25
26enum ibm_oem_pldm_state_set_boot_state_values {
27 P = 0x1,
28 T = 0x2,
29};
30
31enum ibm_oem_pldm_state_set_verification_state_values {
32 VALID = 0x0,
33 ENTITLEMENT_FAIL = 0x1,
34 BANNED_PLATFORM_FAIL = 0x2,
35 MIN_MIF_FAIL = 0x4,
36};
37
38enum ibm_oem_pldm_state_set_system_power_state_values {
Christian Geddes42eaf9f2021-08-03 13:52:20 -050039 POWER_CYCLE_HARD = 0x1
40};
41
42enum ibm_oem_pldm_state_set_sbe_dump_state_values {
43 SBE_DUMP_COMPLETED = 0x1,
44 SBE_RETRY_REQUIRED = 0x2,
Christian Geddes7f9523c2021-08-03 13:44:38 -050045};
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* OEM_IBM_STATE_SETS_H */