1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0 */ 265dd74a6SSimon Glass /* 365dd74a6SSimon Glass * From Coreboot src/southbridge/intel/bd82x6x/me.h 465dd74a6SSimon Glass * 565dd74a6SSimon Glass * Copyright (C) 2011 The Chromium OS Authors. All rights reserved. 665dd74a6SSimon Glass */ 765dd74a6SSimon Glass 865dd74a6SSimon Glass #ifndef _ASM_INTEL_ME_H 965dd74a6SSimon Glass #define _ASM_INTEL_ME_H 1065dd74a6SSimon Glass 118b900a41SSimon Glass #include <asm/me_common.h> 1265dd74a6SSimon Glass 1365dd74a6SSimon Glass struct __packed mbp_fw_version_name { 1465dd74a6SSimon Glass u32 major_version:16; 1565dd74a6SSimon Glass u32 minor_version:16; 1665dd74a6SSimon Glass u32 hotfix_version:16; 1765dd74a6SSimon Glass u32 build_version:16; 1865dd74a6SSimon Glass }; 1965dd74a6SSimon Glass 2065dd74a6SSimon Glass struct __packed mbp_icc_profile { 2165dd74a6SSimon Glass u8 num_icc_profiles; 2265dd74a6SSimon Glass u8 icc_profile_soft_strap; 2365dd74a6SSimon Glass u8 icc_profile_index; 2465dd74a6SSimon Glass u8 reserved; 2565dd74a6SSimon Glass u32 register_lock_mask[3]; 2665dd74a6SSimon Glass }; 2765dd74a6SSimon Glass 2865dd74a6SSimon Glass struct __packed platform_type_rule_data { 2965dd74a6SSimon Glass u32 platform_target_usage_type:4; 3065dd74a6SSimon Glass u32 platform_target_market_type:2; 3165dd74a6SSimon Glass u32 super_sku:1; 3265dd74a6SSimon Glass u32 reserved:1; 3365dd74a6SSimon Glass u32 intel_me_fw_image_type:4; 3465dd74a6SSimon Glass u32 platform_brand:4; 3565dd74a6SSimon Glass u32 reserved_1:16; 3665dd74a6SSimon Glass }; 3765dd74a6SSimon Glass 3865dd74a6SSimon Glass struct __packed mbp_fw_caps { 3965dd74a6SSimon Glass struct mefwcaps_sku fw_capabilities; 4065dd74a6SSimon Glass u8 available; 4165dd74a6SSimon Glass }; 4265dd74a6SSimon Glass 4365dd74a6SSimon Glass struct __packed mbp_plat_type { 4465dd74a6SSimon Glass struct platform_type_rule_data rule_data; 4565dd74a6SSimon Glass u8 available; 4665dd74a6SSimon Glass }; 4765dd74a6SSimon Glass 4865dd74a6SSimon Glass struct __packed me_bios_payload { 4965dd74a6SSimon Glass struct mbp_fw_version_name fw_version_name; 5065dd74a6SSimon Glass struct mbp_fw_caps fw_caps_sku; 5165dd74a6SSimon Glass struct mbp_rom_bist_data rom_bist_data; 5265dd74a6SSimon Glass struct mbp_platform_key platform_key; 5365dd74a6SSimon Glass struct mbp_plat_type fw_plat_type; 5465dd74a6SSimon Glass struct mbp_icc_profile icc_profile; 5565dd74a6SSimon Glass struct tdt_state_info at_state; 5665dd74a6SSimon Glass u32 mfsintegrity; 5765dd74a6SSimon Glass }; 5865dd74a6SSimon Glass 5965dd74a6SSimon Glass #endif 60