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>
This commit is contained in:
Dinesh Gehlot 2023-02-20 06:18:23 +00:00 committed by Lean Sheng Tan
parent d1fb655d0d
commit 73fcbf1309
1 changed files with 59 additions and 0 deletions

View File

@ -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