soc/intel/common/thermal: Hook up IA thermal block to romstage
This patch ensures IA common thermal block is now able to compile under romstage with necessary compilation issues fixed. BUG=b:193774296 Change-Id: I3279f55436977ab9a47e04455d8469e50b5c33c8 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59391 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c8193ce587
commit
ca247629da
|
@ -1 +1,2 @@
|
||||||
|
romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL) += thermal.c
|
||||||
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL) += thermal.c
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL) += thermal.c
|
||||||
|
|
|
@ -43,7 +43,7 @@ void pch_thermal_configuration(void)
|
||||||
uint16_t reg16;
|
uint16_t reg16;
|
||||||
uintptr_t thermalbar;
|
uintptr_t thermalbar;
|
||||||
uintptr_t thermalbar_pm;
|
uintptr_t thermalbar_pm;
|
||||||
struct device *dev;
|
const struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
dev = pcidev_path_on_root(PCH_DEVFN_THERMAL);
|
dev = pcidev_path_on_root(PCH_DEVFN_THERMAL);
|
||||||
|
|
Loading…
Reference in New Issue