From 73fcbf13096dd24c26411e016a122130a97651ce Mon Sep 17 00:00:00 2001 From: Dinesh Gehlot Date: Mon, 20 Feb 2023 06:18:23 +0000 Subject: soc/intel/cmn: Include ME specification configuration at common This patch includes ME specification configuration for various versions, which will allow SoCs to get ME support by selecting the correct version. BUG=b:260309647 Test=Build verified for brya and rex. Signed-off-by: Dinesh Gehlot Change-Id: I817d14e52b0d353bbb4316d6362fcb80cbec3cda Reviewed-on: https://review.coreboot.org/c/coreboot/+/73128 Reviewed-by: Subrata Banik Reviewed-by: Kapil Porwal Reviewed-by: Tarun Tuli Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan --- src/soc/intel/common/block/cse/Kconfig | 59 ++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'src') diff --git a/src/soc/intel/common/block/cse/Kconfig b/src/soc/intel/common/block/cse/Kconfig index 07aba19080..72e7a8e629 100644 --- a/src/soc/intel/common/block/cse/Kconfig +++ b/src/soc/intel/common/block/cse/Kconfig @@ -206,6 +206,65 @@ config SOC_INTEL_CSE_LITE_SYNC_IN_RAMSTAGE help Use this option for CSE FW Update when compressed blobs are used. +config SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + bool + depends on SOC_INTEL_COMMON_BLOCK_CSE + default n + help + This option config will allow SoC platform to use applicable ME specification. + The version based CSE measured ME specification data structures are defined at + common code. Enabling this option will use those CSE defined ME specification + for the SoC. User should select pertinent ME spec version along with this option. + +config SOC_INTEL_COMMON_BLOCK_ME_SPEC_12 + bool + select SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + help + This config will enable 'ME specification version 12'. It will ensure ME specific + declaration and uses of required data structures for Host firmware status registers. + +config SOC_INTEL_COMMON_BLOCK_ME_SPEC_13 + bool + select SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + help + This config will enable 'ME specification version 13'. It will ensure ME specific + declaration and uses of required data structures for Host firmware status registers. + +config SOC_INTEL_COMMON_BLOCK_ME_SPEC_15 + bool + select SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + help + This config will enable 'ME specification version 15'. It will ensure ME specific + declaration and uses of required data structures for Host firmware status registers. + +config SOC_INTEL_COMMON_BLOCK_ME_SPEC_16 + bool + select SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + help + This config will enable 'ME specification version 16'. It will ensure ME specific + declaration and uses of required data structures for Host firmware status registers. + +config SOC_INTEL_COMMON_BLOCK_ME_SPEC_18 + bool + select SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + help + This config will enable 'ME specification version 18'. It will ensure ME specific + declaration and uses of required data structures for Host firmware status registers. + +if SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + +config ME_SPEC + int + default 12 if SOC_INTEL_COMMON_BLOCK_ME_SPEC_12 + default 13 if SOC_INTEL_COMMON_BLOCK_ME_SPEC_13 + default 15 if SOC_INTEL_COMMON_BLOCK_ME_SPEC_15 + default 16 if SOC_INTEL_COMMON_BLOCK_ME_SPEC_16 + default 18 if SOC_INTEL_COMMON_BLOCK_ME_SPEC_18 + help + This config holds the ME spec version if defined. + +endif # SOC_INTEL_CSE_HAVE_SPEC_SUPPORT + if STITCH_ME_BIN config CSE_COMPONENTS_PATH -- cgit v1.2.3