1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef _SOC_INTEL_COMMON_ME_SPEC_16_H_ 4 #define _SOC_INTEL_COMMON_ME_SPEC_16_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 51 /* Host Firmware Status Register 4 */ 52 union me_hfsts4 { 53 uint32_t data; 54 struct { 55 uint32_t reserved_0; 56 } __packed fields; 57 }; 58 59 /* Host Firmware Status Register 5 */ 60 union me_hfsts5 { 61 uint32_t data; 62 struct { 63 uint32_t reserved_0; 64 } __packed fields; 65 }; 66 67 /* Host Firmware Status Register 6 */ 68 union me_hfsts6 { 69 u32 data; 70 struct { 71 uint32_t reserved_0 : 1; 72 uint32_t cpu_debug_disable : 1; 73 uint32_t reserved_1 : 19; 74 uint32_t manuf_lock : 1; 75 uint32_t reserved_2 : 8; 76 uint32_t fpf_soc_lock : 1; 77 uint32_t txt_support : 1; 78 } __packed fields; 79 }; 80 81 #endif /* _SOC_INTEL_COMMON_ME_SPEC_16_H_ */ 82