1 /*
2  * From Coreboot src/southbridge/intel/bd82x6x/me.h
3  *
4  * Copyright (C) 2011 The Chromium OS Authors. All rights reserved.
5  *
6  * SPDX-License-Identifier:	GPL-2.0
7  */
8 
9 #ifndef _ASM_INTEL_ME_H
10 #define _ASM_INTEL_ME_H
11 
12 #include <asm/me_common.h>
13 
14 struct __packed mbp_fw_version_name {
15 	u32 major_version:16;
16 	u32 minor_version:16;
17 	u32 hotfix_version:16;
18 	u32 build_version:16;
19 };
20 
21 struct __packed mbp_icc_profile {
22 	u8 num_icc_profiles;
23 	u8 icc_profile_soft_strap;
24 	u8 icc_profile_index;
25 	u8 reserved;
26 	u32 register_lock_mask[3];
27 };
28 
29 struct __packed platform_type_rule_data {
30 	u32 platform_target_usage_type:4;
31 	u32 platform_target_market_type:2;
32 	u32 super_sku:1;
33 	u32 reserved:1;
34 	u32 intel_me_fw_image_type:4;
35 	u32 platform_brand:4;
36 	u32 reserved_1:16;
37 };
38 
39 struct __packed mbp_fw_caps {
40 	struct mefwcaps_sku fw_capabilities;
41 	u8 available;
42 };
43 
44 struct __packed mbp_plat_type {
45 	struct platform_type_rule_data rule_data;
46 	u8 available;
47 };
48 
49 struct __packed me_bios_payload {
50 	struct mbp_fw_version_name fw_version_name;
51 	struct mbp_fw_caps fw_caps_sku;
52 	struct mbp_rom_bist_data rom_bist_data;
53 	struct mbp_platform_key platform_key;
54 	struct mbp_plat_type fw_plat_type;
55 	struct mbp_icc_profile icc_profile;
56 	struct tdt_state_info at_state;
57 	u32 mfsintegrity;
58 };
59 
60 #endif
61