soc/intel/common: Define enum types for MKHI group IDs and ME SKUs
The patch defines enum type for MKHI group IDs and ME SKU types instead of macros. TEST=Build code for Rex Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Change-Id: I102e802938a6a664a43a362d90a26755cff8f316 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74996 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Harsha B R <harsha.b.r@intel.com> Reviewed-by: Anil Kumar K <anil.kumar.k@intel.com> Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
This commit is contained in:
parent
bc602b856d
commit
e9f4e56435
|
@ -8,11 +8,13 @@
|
|||
#include <vb2_api.h>
|
||||
|
||||
/* MKHI Command groups */
|
||||
#define MKHI_GROUP_ID_CBM 0x0
|
||||
#define MKHI_GROUP_ID_HMRFPO 0x5
|
||||
#define MKHI_GROUP_ID_GEN 0xff
|
||||
#define MKHI_GROUP_ID_BUP_COMMON 0xf0
|
||||
#define MKHI_GROUP_ID_FWCAPS 0x3
|
||||
enum mkhi_group_id {
|
||||
MKHI_GROUP_ID_CBM = 0x0,
|
||||
MKHI_GROUP_ID_HMRFPO = 0x5,
|
||||
MKHI_GROUP_ID_GEN = 0xff,
|
||||
MKHI_GROUP_ID_BUP_COMMON = 0xf0,
|
||||
MKHI_GROUP_ID_FWCAPS = 0x3,
|
||||
};
|
||||
|
||||
/* Global Reset Command ID */
|
||||
#define MKHI_CBM_GLOBAL_RESET_REQ 0xb
|
||||
|
@ -69,9 +71,11 @@
|
|||
#define ME_DISABLE_ATTEMPTS 3
|
||||
|
||||
/* ME Firmware SKU Types */
|
||||
#define ME_HFS3_FW_SKU_CONSUMER 0x2
|
||||
#define ME_HFS3_FW_SKU_CORPORATE 0x3
|
||||
#define ME_HFS3_FW_SKU_LITE 0x5
|
||||
enum me_fw_sku {
|
||||
ME_HFS3_FW_SKU_CONSUMER = 0x2,
|
||||
ME_HFS3_FW_SKU_CORPORATE = 0x3,
|
||||
ME_HFS3_FW_SKU_LITE = 0x5,
|
||||
};
|
||||
|
||||
/* Number of cse boot performance data */
|
||||
#define NUM_CSE_BOOT_PERF_DATA 64
|
||||
|
|
Loading…
Reference in New Issue