xref: /aosp_15_r20/external/coreboot/src/soc/intel/common/block/include/intelblocks/me_15.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_INTEL_COMMON_ME_SPEC_15_H_
4 #define _SOC_INTEL_COMMON_ME_SPEC_15_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;
63 	} __packed fields;
64 };
65 
66 /* Host Firmware Status Register 6 */
67 union me_hfsts6 {
68 	uint32_t data;
69 	struct {
70 		uint32_t reserved_0		: 1;
71 		uint32_t cpu_debug_disable	: 1;
72 		uint32_t reserved_1		: 28;
73 		uint32_t fpf_soc_lock		: 1;
74 		uint32_t txt_support		: 1;
75 	} __packed fields;
76 };
77 #endif /* _SOC_INTEL_COMMON_ME_SPEC_15_H_ */
78