From 85376bfd9b018820e84fec92471d13717ad14083 Mon Sep 17 00:00:00 2001 From: John Su Date: Tue, 6 Nov 2018 10:51:43 +0800 Subject: soc/intel/apollolake: Provide interface to update TCC offset This change provides an interface for apollolake to set TCC before BIOS reset complete happens in romstage. With this change, we can add code to update Tcc in devicetree. BUG=b:117789732 TEST=Match the result from TAT UI Change-Id: I4419d3bbe2628fcb26ef81828d6325fc952dbabc Signed-off-by: John Su Reviewed-on: https://review.coreboot.org/29351 Tested-by: build bot (Jenkins) Reviewed-by: Justin TerAvest Reviewed-by: Sumeet R Pawnikar --- src/soc/intel/apollolake/chip.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/apollolake/chip.h') diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h index 28d8634442..8ad622f684 100644 --- a/src/soc/intel/apollolake/chip.h +++ b/src/soc/intel/apollolake/chip.h @@ -112,6 +112,9 @@ struct soc_intel_apollolake_config { /* Enable DPTF support */ int dptf_enable; + /* TCC activation offset value in degrees Celsius */ + int tcc_offset; + /* PL1 override value in mW for APL */ uint16_t tdp_pl1_override_mw; /* PL2 override value in mW for APL */ -- cgit v1.2.3