common/block/cse: Add Kconfig to support ME specification version 21

This patch introduces Kconfig support for Intel's Management Engine
(ME), version 21. When 'SOC_INTEL_COMMON_BLOCK_ME_SPEC_21' is selected
it sets the ME_SPEC configuration to 18 because ME version 21 is
compatible with version 18 in terms of Host Firmware status registers.

BUG=b:362647201
TEST=Able to build fatcat after selecting SOC_INTEL_COMMON_ME_SPEC_21

Change-Id: I90c946751ac530dac1af4ff9c3c921b5faf82448
Signed-off-by: Pranava Y N <pranavayn@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85186
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Pranava Y N 2024-11-19 14:05:59 +05:30 committed by Subrata Banik
commit d44ccf841b

View file

@ -372,6 +372,15 @@ config SOC_INTEL_COMMON_BLOCK_ME_SPEC_18
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.
config SOC_INTEL_COMMON_BLOCK_ME_SPEC_21
bool
select SOC_INTEL_CSE_HAVE_SPEC_SUPPORT
help
This config will enable 'ME specification version 21'. It will ensure ME specific
declaration and uses of required data structures for Host firmware status registers.
This version of ME is compatible with ME version 18 in terms of Host firmware
status registers.
if SOC_INTEL_CSE_HAVE_SPEC_SUPPORT
config ME_SPEC
@ -380,7 +389,7 @@ config ME_SPEC
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
default 18 if SOC_INTEL_COMMON_BLOCK_ME_SPEC_18 || SOC_INTEL_COMMON_BLOCK_ME_SPEC_21
help
This config holds the ME spec version if defined.