1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef _SOC_INTEL_COMMON_ME_SPEC_18_H_ 4 #define _SOC_INTEL_COMMON_ME_SPEC_18_H_ 5 6 /* ME Host Firmware Status register 1 */ 7 union me_hfsts1 { 8 uint32_t data; 9 struct { 10 uint32_t working_state : 4; 11 uint32_t mfg_mode : 1; 12 uint32_t fpt_bad : 1; 13 uint32_t operation_state : 3; 14 uint32_t fw_init_complete : 1; 15 uint32_t ft_bup_ld_flr : 1; 16 uint32_t update_in_progress : 1; 17 uint32_t error_code : 4; 18 uint32_t operation_mode : 4; 19 uint32_t reserved_0 : 4; 20 uint32_t boot_options_present : 1; 21 uint32_t invoke_enhance_dbg_mode: 1; 22 uint32_t reserved_1 : 5; 23 uint32_t d0i3_support_valid : 1; 24 } __packed fields; 25 }; 26 27 /* Host Firmware Status Register 2 */ 28 union me_hfsts2 { 29 uint32_t data; 30 struct { 31 uint32_t reserved_0 : 4; 32 uint32_t cpu_replaced : 1; 33 uint32_t reserved_1 : 3; 34 uint32_t cpu_replaced_valid : 1; 35 uint32_t low_power_state : 1; 36 uint32_t reserved_2 : 22; 37 } __packed fields; 38 }; 39 40 /* ME Host Firmware Status Register 3 */ 41 union me_hfsts3 { 42 uint32_t data; 43 struct { 44 uint32_t reserved_0 : 4; 45 uint32_t fw_sku : 3; 46 uint32_t reserved_1 : 25; 47 } __packed fields; 48 }; 49 50 /* Host Firmware Status Register 4 */ 51 union me_hfsts4 { 52 uint32_t data; 53 struct { 54 uint32_t reserved_0; 55 } __packed fields; 56 }; 57 58 /* Host Firmware Status Register 5 */ 59 union me_hfsts5 { 60 uint32_t data; 61 struct { 62 uint32_t reserved_0 : 17; 63 uint32_t txt_support : 1; 64 uint32_t reserved_1 : 3; 65 uint32_t cpu_debug_disabled : 1; 66 uint32_t reserved_2 : 10; 67 } __packed fields; 68 }; 69 70 /* Host Firmware Status Register 6 */ 71 union me_hfsts6 { 72 uint32_t data; 73 struct { 74 uint32_t reserved_0 : 21; 75 uint32_t manuf_lock : 1; 76 uint32_t reserved_1 : 8; 77 uint32_t fpf_soc_lock : 1; 78 uint32_t reserved_2 : 1; 79 } __packed fields; 80 }; 81 #endif /* _SOC_INTEL_COMMON_ME_SPEC_18_H_ */ 82