diff options
author | Subrata Banik <subratabanik@google.com> | 2024-07-09 23:31:12 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-07-11 15:25:18 +0000 |
commit | 24d81018eadbb5488966ee3d794cb8b09f3f15be (patch) | |
tree | f68598e5a7f2d3d2223d7abec4f2c9553a0fa0e9 /src/mainboard/google/rex | |
parent | 48e6b829139ba185851b97ae4728e46a7da87bc6 (diff) |
mb/google/rex: Refactor CSE config options for model-specific settings
This patch refactors CSE config options, moving the selection of:
* `SOC_INTEL_CSE_LITE_SKU`
* `SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2`
* `SOC_INTEL_CSE_SEND_EOP_ASYNC`
from the generic `BOARD_GOOGLE_REX_COMMON` to individual board models.
This enables finer-grained control over CSE features and sync behavior
on different Rex and variants platforms.
Specifically:
* `google/rex0`: Selects `SOC_INTEL_CSE_LITE_SKU` for CSE sync within
coreboot.
* `google/rex64`: Selects `SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD` and
`SOC_INTEL_CSE_SEND_EOP_BY_PAYLOAD` to defer CSE sync
to the payload.
BUG=b:305898363
TEST=Builds successfully for google/rex variants.
Change-Id: Ib5957496b1e1dad8d135b3e10541cb83dd339539
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83397
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rex')
-rw-r--r-- | src/mainboard/google/rex/Kconfig | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig index 9ee0bc0663..2ebcf32050 100644 --- a/src/mainboard/google/rex/Kconfig +++ b/src/mainboard/google/rex/Kconfig @@ -28,9 +28,6 @@ config BOARD_GOOGLE_REX_COMMON select MB_COMPRESS_RAMSTAGE_LZ4 select PMC_IPC_ACPI_INTERFACE select SOC_INTEL_COMMON_BLOCK_VARIANT_POWER_LIMIT - select SOC_INTEL_CSE_LITE_SKU - select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 - select SOC_INTEL_CSE_SEND_EOP_ASYNC config BOARD_GOOGLE_BASEBOARD_OVIS def_bool n @@ -43,6 +40,9 @@ config BOARD_GOOGLE_BASEBOARD_OVIS select RT8168_GEN_ACPI_POWER_RESOURCE select RT8168_GET_MAC_FROM_VPD select RT8168_SET_LED_MODE + select SOC_INTEL_CSE_LITE_SKU + select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 + select SOC_INTEL_CSE_SEND_EOP_ASYNC select SOC_INTEL_IOE_DIE_SUPPORT select SOC_INTEL_METEORLAKE_U_H select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES @@ -71,6 +71,9 @@ config BOARD_GOOGLE_MODEL_DEKU config BOARD_GOOGLE_MODEL_KARIS def_bool n select BOARD_GOOGLE_BASEBOARD_REX + select SOC_INTEL_CSE_LITE_SKU + select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 + select SOC_INTEL_CSE_SEND_EOP_ASYNC config BOARD_GOOGLE_MODEL_OVIS def_bool n @@ -91,6 +94,9 @@ config BOARD_GOOGLE_MODEL_REX config BOARD_GOOGLE_MODEL_REX_EC_ISH def_bool n select BOARD_GOOGLE_MODEL_REX + select SOC_INTEL_CSE_LITE_SKU + select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 + select SOC_INTEL_CSE_SEND_EOP_ASYNC select SOC_INTEL_STORE_ISH_FW_VERSION config BOARD_GOOGLE_MODEL_SCREEBO @@ -98,6 +104,9 @@ config BOARD_GOOGLE_MODEL_SCREEBO select BOARD_GOOGLE_BASEBOARD_REX select DRIVERS_GENERIC_ALC1015 select DRIVERS_GENESYSLOGIC_GL9750 + select SOC_INTEL_CSE_LITE_SKU + select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 + select SOC_INTEL_CSE_SEND_EOP_ASYNC config BOARD_GOOGLE_DEKU select BOARD_GOOGLE_MODEL_DEKU @@ -121,10 +130,15 @@ config BOARD_GOOGLE_OVIS4ES config BOARD_GOOGLE_REX0 select BOARD_GOOGLE_MODEL_REX + select SOC_INTEL_CSE_LITE_SKU + select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 + select SOC_INTEL_CSE_SEND_EOP_ASYNC config BOARD_GOOGLE_REX64 select BOARD_GOOGLE_MODEL_REX select HAVE_X86_64_SUPPORT + select SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD + select SOC_INTEL_CSE_SEND_EOP_BY_PAYLOAD select USE_X86_64_SUPPORT config BOARD_GOOGLE_REX_EC_ISH @@ -132,6 +146,9 @@ config BOARD_GOOGLE_REX_EC_ISH config BOARD_GOOGLE_REX4ES select BOARD_GOOGLE_MODEL_REX + select SOC_INTEL_CSE_LITE_SKU + select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 + select SOC_INTEL_CSE_SEND_EOP_ASYNC select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON config BOARD_GOOGLE_REX4ES_EC_ISH |