soc/intel/{skl, common}: Move ME Firmware SKU Types to common code

1. Move ME firmware SKU types into common code.
2. Define ME_HFS3_FW_SKU_CUSTOM SKU.

TEST=Verified on hatch & soraka.

Change-Id: Iaa4cf8d5b41c1008da1e7aa63b5a6960bb9a727b
Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38796
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Sridhar Siricilla 2020-02-06 14:21:49 +05:30 committed by Subrata Banik
parent f538d74e9c
commit 3d27705d27
2 changed files with 5 additions and 3 deletions

View File

@ -41,6 +41,11 @@
#define ME_HFS1_COM_SOFT_TEMP_DISABLE 0x3
#define ME_HFS1_COM_SECOVER_MEI_MSG 0x5
/* ME Firmware SKU Types */
#define ME_HFS3_FW_SKU_CONSUMER 0x2
#define ME_HFS3_FW_SKU_CORPORATE 0x3
#define ME_HFS3_FW_SKU_CUSTOM 0x5
/* HFSTS register offsets in PCI config space */
enum {
PCI_ME_HFSTS1 = 0x40,

View File

@ -168,9 +168,6 @@ union me_hfs2 {
} __packed fields;
};
#define ME_HFS3_FW_SKU_CONSUMER 0x2
#define ME_HFS3_FW_SKU_CORPORATE 0x3
union me_hfs3 {
u32 data;
struct {