diff options
author | Dinesh Gehlot <digehlot@google.com> | 2023-02-20 06:18:23 +0000 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-02-24 11:53:17 +0000 |
commit | 73fcbf13096dd24c26411e016a122130a97651ce (patch) | |
tree | 63c4a08777a1b42c7f0bb34227010e260bd052f3 /src/soc/intel | |
parent | d1fb655d0dbf4feb0117c02bcc4c4817c02118b1 (diff) |
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 <digehlot@google.com>
Change-Id: I817d14e52b0d353bbb4316d6362fcb80cbec3cda
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73128
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/common/block/cse/Kconfig | 59 |
1 files changed, 59 insertions, 0 deletions
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 |