summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/block/thermal/Makefile.inc
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2021-11-19 13:49:21 +0530
committerSubrata Banik <subrata.banik@intel.com>2021-11-20 17:49:00 +0000
commit2ee30add352c56fbf5a49ed27705318adaff7893 (patch)
treea4165c2b3e43ed371e58df8b9809c5cb141b07de /src/soc/intel/common/block/thermal/Makefile.inc
parentd7375b3fdd1b39ed029aa2a4c013e46811291469 (diff)
downloadcoreboot-2ee30add352c56fbf5a49ed27705318adaff7893.tar.gz
coreboot-2ee30add352c56fbf5a49ed27705318adaff7893.tar.bz2
coreboot-2ee30add352c56fbf5a49ed27705318adaff7893.zip
soc/intel/common/thermal: Allow thermal configuration over PMC
Thermal configuration has evolved over PCH generations where latest PCH has provided an option to allow thermal configuration using PMC PWRMBASE registers. This patch adds an option for impacted SoC to select the Kconfig for allowing thermal configuration using PMC PCH MMIO space. BUG=b:193774296 TEST=Able to build and boot hatch and adlrvp platform. Change-Id: I0c6ae72610da39fc18ff252c440d006e83c570a0 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59209 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/thermal/Makefile.inc')
-rw-r--r--src/soc/intel/common/block/thermal/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/thermal/Makefile.inc b/src/soc/intel/common/block/thermal/Makefile.inc
index 951065cd118a..2a652192fca8 100644
--- a/src/soc/intel/common/block/thermal/Makefile.inc
+++ b/src/soc/intel/common/block/thermal/Makefile.inc
@@ -1,2 +1,3 @@
romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL) += thermal.c
+romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL_BEHIND_PMC) += thermal_pmc.c
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL) += thermal.c