summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/block/cse/Kconfig
diff options
context:
space:
mode:
authorBora Guvendik <bora.guvendik@intel.com>2023-03-12 12:24:58 -0700
committerSubrata Banik <subratabanik@google.com>2023-04-04 08:07:56 +0000
commit94050499ca9fa1b1ebb7a867eea3f722a4ca85c9 (patch)
treed90306b162dcf5e1cd50203fd139643190529b6e /src/soc/intel/common/block/cse/Kconfig
parentfb1b192cf1c101dad40991081e406dddf52bd7fd (diff)
downloadcoreboot-94050499ca9fa1b1ebb7a867eea3f722a4ca85c9.tar.gz
coreboot-94050499ca9fa1b1ebb7a867eea3f722a4ca85c9.tar.bz2
coreboot-94050499ca9fa1b1ebb7a867eea3f722a4ca85c9.zip
soc/intel/alderlake: Add support for CSE timestamp data versions
CSE performance data timestamps are different for version 1 Alder Lake/Raptor Lake and version 2 Meteor Lake. This patch moves the current ADL/RPL timestamp definitions to a separate header file. It marks current structure as version 1. BUG=b:259366109 TEST=Boot to OS, check ADL/RPL pre-cpu timestamps. Change-Id: I780e250707d1d04891a5a1210b30aecb2c8620d3 Signed-off-by: Bora Guvendik <bora.guvendik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73712 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Diffstat (limited to 'src/soc/intel/common/block/cse/Kconfig')
-rw-r--r--src/soc/intel/common/block/cse/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/Kconfig b/src/soc/intel/common/block/cse/Kconfig
index 55c9e7999e25..33d703fb50c7 100644
--- a/src/soc/intel/common/block/cse/Kconfig
+++ b/src/soc/intel/common/block/cse/Kconfig
@@ -211,6 +211,20 @@ config SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
Mainboard user to select this Kconfig in order to capture pre-cpu
reset boot performance telemetry data.
+config SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V1
+ bool
+ select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
+ help
+ This config will make mainboard use version 1 of the CSE timestamp
+ definitions, it can be used for Alder Lake and Raptor Lake (all SKUs).
+
+config SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2
+ bool
+ select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
+ help
+ This config will make mainboard use version 2 of the CSE timestamp
+ definitions, it can be used for Meteor Lake M/P.
+
config SOC_INTEL_CSE_LITE_SYNC_IN_ROMSTAGE
bool
default y