summaryrefslogtreecommitdiff
path: root/src/soc/intel/pantherlake
diff options
context:
space:
mode:
authorJamie Ryu <jamie.m.ryu@intel.com>2024-08-16 00:49:05 -0700
committerFelix Held <felix-coreboot@felixheld.de>2024-08-21 16:14:47 +0000
commit73be9641002c34a5f5b9052598486ed695bd1059 (patch)
tree09affd113531223220f9072c46920a88852eaae4 /src/soc/intel/pantherlake
parentd4833a649951d621f0819ab41440428b40bb61f3 (diff)
soc/intel/ptl: Dump SoC QDF from report_cpu_info in bootblock
This enables SOC_QDF_DYNAMIC_READ_PMC and adds pmc_dump_soc_qdf_info to report_cpu_info to dump QDF information from bootblock. Change-Id: Iaf6f46cd9be831dde345c3b3728cd66145746d68 Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83940 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Saurabh Mishra <mishra.saurabh@intel.com>
Diffstat (limited to 'src/soc/intel/pantherlake')
-rw-r--r--src/soc/intel/pantherlake/Kconfig1
-rw-r--r--src/soc/intel/pantherlake/bootblock/report_platform.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/pantherlake/Kconfig b/src/soc/intel/pantherlake/Kconfig
index 83d6292f50..9a5fc61fb1 100644
--- a/src/soc/intel/pantherlake/Kconfig
+++ b/src/soc/intel/pantherlake/Kconfig
@@ -31,6 +31,7 @@ config SOC_INTEL_PANTHERLAKE_BASE
select SOC_INTEL_COMMON_PCH_CLIENT
select SOC_INTEL_COMMON_RESET
select SOC_INTEL_IOE_DIE_SUPPORT
+ select SOC_QDF_DYNAMIC_READ_PMC
select SSE2
select SUPPORT_CPU_UCODE_IN_CBFS
select TSC_MONOTONIC_TIMER
diff --git a/src/soc/intel/pantherlake/bootblock/report_platform.c b/src/soc/intel/pantherlake/bootblock/report_platform.c
index 7fc6d4b13f..22cda26982 100644
--- a/src/soc/intel/pantherlake/bootblock/report_platform.c
+++ b/src/soc/intel/pantherlake/bootblock/report_platform.c
@@ -12,6 +12,7 @@
#include <device/pci_ops.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/acpi.h>
+#include <intelblocks/pmclib.h>
#include <soc/bootblock.h>
#include <intelblocks/car_lib.h>
#include <soc/pci_devs.h>
@@ -153,6 +154,7 @@ static void report_cpu_info(void)
mode[aes], mode[txt], mode[vt]);
car_report_cache_info();
+ pmc_dump_soc_qdf_info();
}
static void report_mch_info(void)